Computer Support Forum

How can I use the command line to boot to a specific OS when booting up

Question: How can I use the command line to boot to a specific OS when booting up

I was wondering what commands to use to boot to a specific OS for example in case my OS gets corrupted and I am not able to use the graphical user interface but I have other OS installed on different partitions or maybe different hard drives how can I able to access these OSs from the command line

Relevance 100%
Preferred Solution: How can I use the command line to boot to a specific OS when booting up

I recommend downloading and running Reimage. It's a computer repair tool that has been proven to identify and fix many Windows problems with a high level of success.

I've used it in the past to identify and fix everything from blue screens (BSOD's), ActiveX errors, corrupt files and processes, dll/exe/sys errors, recover lost memory, Windows update problems, defragging, malware removal etc.

You can download it direct from this link (This link will automatically start a download of Reimage that you can save to your computer.)

Answer: How can I use the command line to boot to a specific OS when booting up

You dont really need to use the command line for this..

With my experience if you have more than one OS installed on either different partitions or HDs and there is a boot record assigned to multiple partitions or drives in Windows Disk Management then when you boot you are prompted for which one you would like to start.

2 more replies
Relevance 73.39%

hi, Im trying to build a prototype which boots xp straight to an application without loading the desktop, is that possible? I really need that application to be the only thing usable, no start menu or right clicking aviliable; I need the user to not to be able to do anything else but use the application, so I think having no desktop could be the best way.

Thanks in advance.

Answer:booting to the command line and starting an application

Hi horacle and welcome to TSF !

If this is XP Pro you could probably disable explorer.exe and tskmgr.exe for all users except the admin using the group policies (start => run => gpedit.msc). Add a shortcut to your program in the user's startup menu (c:\documents and settings\username\start menu\programs\startup\) and it'll run at startup. Can't give you much more details about the changes in gpedit since I'm on XP Home.

With XP Home you can try to replace the default shell with your own program : browse the registry to
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\
Locate or create the Shell key (a REG_SZ) and replace explorer.exe by the path and name of your application.

To disable the right click menu browse the registry to
Create a NoViewContextMenu key (a REG_DWORD) and set it to 1 to disable the right-click context menus.

If you wish to also disable the task manager then browse the registry to HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System
Create a DisableTaskMgr key (a REG_DWORD) and set it to 1 to Disable the task manager.

Be warned that if you edit the registry you need to make sure you can revert your changes. Without the task bar nor the task manager you won't be able to access the registry and winkey + R won't work either (you could always try in safe mode and logged as administrator but can't tell you for sure if it'll work). One easy way to undo... Read more

2 more replies
Relevance 71.75%

I'm trying to install OpenIndiana on a machine of mine to setup ZFS and i cant get past the grub command line when booting from the CD. I have tried 2 different cd/dvd roms with the same result. I even re-burned the media to a new CD. When it boots, i dont get any options to boot into OpenIndiana.

My hardware:

AMD Athlon 64 X2 4600+ Windsor 2.4GHz Socket AM2 89W Dual-Core Processor ADA4600CUBOX

ASUS M2N AM2 NVIDIA nForce 430 MCP ATX AMD Motherboard

2 x A-DATA 2GB (2 x 1GB) 240-Pin DDR2 SDRAM DDR2 800 (PC2 6400) Dual Channel Kit Desktop Memory Model AD2U800B1G5-DRH

MSI NX7300LE-TD256EH GeForce 7300LE 256MB 64-bit GDDR2 PCI Express x16 Video Card

Syba PCI Express SATA II 4 x Ports RAID Controller Card SY-PEX40008

8x SAMSUNG Spinpoint F4 HD204UI 2TB 5400 RPM SATA 3.0Gb/s

1X Seagate 80 GB Ide hard drive (for OS)

1 x LG 22X DVD±R DVD Burner Black IDE Model GH22NP20

Any help will be appreciated.

More replies
Relevance 70.52%

I want to hide this. I'm running a python progam (if that matters) and it always has that open on my taskbar. I want to hide it. I don't care where it goes or how much time it takes, I just want to hide it. So I never have to deal with it. Maybe make it a system process or something? I don't know.

More replies
Relevance 67.24%

Anybody know the command to copy a disk? Like Linux = cp /dev/sda /dev/sdb , or dd xyz -> xyx

What's the Windows command line syntax for this copy task?

Answer:Command line to clone disk? COMMAND line; NOT 3rd party app.

No. Don't believe that is built in. The latest Windows versions have imaging software built in with a GUI.

Or, DD For Windows

Free system imaging/backup software:

Macrium Reflect (Free)
O&O Disk Image Express
Comodo Time Machine
Clonezilla Live (A bootable CD of Debian with Clonezilla.)
Paragon Backup & Recovery
Drive Image XML
PING (Partimage is not Ghost)
Partition Saving

3 more replies
Relevance 66.83%

i want to run a command line program as part of the boot process (like one does chkdsk /f for the system disk) but don't know how to (chkdsk does it automatically this one doesn't provide an automatic option built in)

Answer:want to run a command line program at boot

Try a ERD commander, it will allow you to do more than just use command prompt.

4 more replies
Relevance 66.83%

I have a very old PC that I am playing about with, it had XP Professional on it, long story, but I had put Linux Unity (I think) on it, and was testing it to destruction, and it has destructed.
Now I have tried to load the OS again to sort things out, but when I put the CD in to re load the OS, I have to login and end up with a command line window.
The only command that works for me is 'halt' to shutdown.
I think I have deleted whatever opens the OS.
I know that the PC is on its last legs, but I don't believe it's a mechanical problem, just my lack of knowledge.
I understand from this point I could download the bits I am missing........not the correct terms I know, but can anyone help me out here ?

Answer:Boot problem command line ?

What OS are you trying to install?
Have you set boot order to CD first in bios?

4 more replies
Relevance 66.01%

Hello, I hate to say it but this is the first of several questions I will likely be asking here at before all is said and done. I like to think I am fairly computer savvy, and while I have used this forum as a reference in the past I have never felt so far gone that I needed to actually log in and ask a question-- until now. I am running Windows Vista SP2 on an Acer Aspire 5630 laptop, using Microsoft Security Essentials as my main antivirus program.

I have a problem in my system, and I am not sure yet whether it is virus/malware-related or if I have just goofed the regsitry or some other key part of my OS to the point that I can't get back to a decent boot. Up until a day or two ago, my computer would only boot properly into safe mode, without crashing less than ten minutes after booting up. I elected to set my Boot Configuration to boot with bootlogging enabled and (foolishly, i now fear) checked the box to make my boot config "permanent." Now I know it isn't actually permanent, only persistent until I can get in there to change the configuration. But the problem is, my system will not boot in this mode. I get the screen that informs me that I will be booting in safe mode w/networking and that bootlogging is enabled (i thought this would help me gain insight into what was crashing my system) and then I get the ol' BSOD.

System Repair from a Vista Recovery CD cannot fix the errors in my system, and chkdsk will not run from the X: ... Read more

Answer:Need help changing boot configuration from command line.

Pertains to XP, but it could be the same:

6 more replies
Relevance 65.19%

Hey guys I can really use some help with a big problem that I've encountered.

I have a sony vaio with a genuine vista home premium 32bit installed. I also had a non genuine vista ultimate 64bit installed on a partition. I wanted to create a partition of a partition and couldn't due to some message about dynamic drive. I tried to partition it on Ultimate and it worked. After I restarted, i received a similar error that others got when I googled:
Booting "Windows Vista"

Vista Loader 2.1.2

fallback 1
find --set-root /bootmgr

Error 17: File not found
Booting 'Windows NT/2000/XP'

fallback 2
find --set-root /ntldr

Error 17: File not found
Booting 'Enter Command Line'

Boot failed! Press any key to enter command line.
Then it enters GRUB dos. I checked my hard drive partitions with the geometry (hd0,0) command and none of them seem to be NTSF. They show up as 0x42 and one is 0x27 which I'm guessing is the recovery partition.

My guess is that since the partitions are not NTSF, I can't boot windows. I tried to repair and nothing helped. I reinstalled vista on a partition and everything was fine until the setup completed.

It seems like all my files are there and the windows repair on the vista dvd recognizes that there are 2 OS installed. I can't run the recovery mode on the vaio laptop.

Please help me find a solution without having to lose any of my fil... Read more

Answer:Boot failed! Press any key to enter command line.

What I think would help is if there is a way to change a dynamic disk to a basic disk without windows support and without losing data.

I tried a partition rescue disk by EASEUS and all it showed was one dynamic drive without any options for it.

Does anyone know how to change dynamic drives safely without OS support?

1 more replies
Relevance 65.19%

I have a laptop from a friend who contactd Dell about an issue. The person at Dell told him to use msconfig to set safe mode minimal.

During further discussioin with the Dell rep, he told my friend he needed to do a factory restore. I've done that for my friend, not realizing he had set the flag for Safe Mode boot in MSConfig, and now the restore can't finish because it keeps trying to boot into safe mode.

Is there a way to turn this off in the command prompt. I can get to the Startup Tools of windows 7 with CTRL+F11.

Any help on this is greatly appreciated. I can also get into the system files with linux to edit if needed. I just don't know what to do.


Answer:Turn off Safe Mode boot from Command Line?

Hi bmcgonag,

Follow the steps listed in the following tutorial (Option 3: Using BCDEDIT Command in a Command Prompt; serial number 6) Safe Mode. This is likely to help you get the notebook started in Windows normal mode.

Hope this helps. Do reply if you have any further questions. I would be glad to assist.

6 more replies
Relevance 65.19%

windows 7 premium home edition. make usb 1st boot priority. what type on command line after DOS screen appears after F10 key repeatedly presses. want to boot Tor from memory stick.

Answer:what to type on DOS command line to make USB TOR stick boot

You need to set the boot order from the BIOS. Since you haven't mentioned what brand computer this is, it's hard to know what pressing the F10 key does. It varies from manufacturer.

2 more replies
Relevance 64.78%

i want start a Run a scheduled task via command line like this:


%SystemRoot%\system32\taskschd.msc /Run /TN "RegIdleBackup"
when i run the cmd in the prompt as admin the shedular task GUI pop up but the task not start.

Is there a solution?

Is the problem related to windows 10 ?

Answer:Run a scheduled task via command line via command line

Hi, assuming you want to set up a scheduled registry backup, why not take advantage of this free tool, which also offers various repairs?

4 more replies
Relevance 64.78%

I think I'm at the end of the road. While running ccleaner and in the middle of cleaning the registry, the battery died without warning and this asus Eee Pc hasn't booted since. I found some info on this forum regarding accessing command line through system recover options and then reverting to a recent registry backup through the command line. What that did was remove all the options in "System Recovery Options" including access to command line and now the only option I have left is Startup repair which doesn't work. It cant identify any issues and the process repeats, reboot, startup repair. I made a windows 7 bootable flash drive and after changing the boot sequence to read external drive first, it seems to read the flash drive because the light flashes but it immediatley tries to boot windows of the HD and I get the same issue.

It seems I may be out of options here because it wont boot from the flash drive and I cannot access a command line.

Any suggestions?

Answer:Windows 7 starter on E-PC wont boot, command line not accessable

You may indeed, unfortunately, be at the end of the road Window-wise with this netbook as this machine seems to make it relatively unfriendly to make a disc backup recovery plan. While you wait for someone who may have an elegant solution for you there may a future for you with Linux. Now before you throw up my wife has a Asus Eee PC 1025C I bought her that became next to worthless just because of its normal lack of power. Normally I'd steer clear of Linux having tried lots of Live-CDs trying to get one to work with all my hardware on installation, but with the netbook failing performance-wise I found Peppermint OS Peppermint | The Linux Desktop OS

I know this is a Windows forum but this is just to help you continue to use your device. My wife now really likes the netbook and if has breathed new life into it. If you can boot to the BIOS you can boot into a USB stick and thus to a Live-USB Drive. And from there getting the machine to boot to the live CD should work, and you can see all your files on the machine and install Peppermint if you so choose.

Just a suggestion.

My experience detailed here Peppermint | Linux OS Community Forum ? View topic - Dual Boot on Asus EeePC 1025C (Solved) is just to show even someone like me who knows nothing of Linux can install this OS


7 more replies
Relevance 64.78%

i want to use the "net local group administrators (username) /add comand but it wont work.

Answer:in the boot drive repair command line how to make it work.

Exactly, word for word, spelling for spelling, what was the command you tried?

1 more replies
Relevance 60.68%

Somehow the line that you put web sites -- after the http --has disappeared. I'm sure that there's a simple way to get it back but I'm new to WIN XP. Can someone help.

Answer:Lost command line -- line with site addresses WinXP

I think you are talking about the address bar in a web browser???

You did not mention what browser you are using. For Internet Explorer 6, right click in any other visible menu bar and then make sure that "Address Bar" is checked in the box that pops up. This may work for other versions of Internet Explorer.

3 more replies
Relevance 60.27%


I'm trying to split a .flv file by using flvparse, which is a Windows-only, command-line interface tool. I did get through to the directory by following instructions posted on another forum, however, command prompt doesn't seem to recognize the the .exe file. I'm an absolute novice at this, any help would be really appreciated!

Attaching a CP s/s, and here are the instructions I'm trying to follow (copy pasted from the forum)


For trimming the beginning and/or ending of videos, you can use FLVParser ( ).
FLVParser is a Windows-only, command-line interface tool. After you unzip it, move its folder to C:\ for ease of use. Also for ease of use, copy/move the .flv file you wish to edit into the FLVParse folder.
To make edits, you need to know the in and out points where you want the edits. Use FLVPlayer to find these points. FLVPLayer only lists times in total number of seconds, not HH:MM:SS, but don't worry, FLVParser can handle that. In the FLVParse directory create a new blank text file called: CuePointFile.dat
This is the file FLVParser uses to edit from. Open it in NotePad, and enter the in point and out point, separated by a single blank space, like so: 2525 5150
Save, and close the file. Open up the command line interface and go to the FLVParse directory: cd C:\FLVParse
In the command line, enter this to edit the flv:
flvparse.exe FileToSplit.flv CuePointFile.dat
Your file will be split into ... Read more

Answer:Command Prompt doesnt seem to recognize the command line!!

You are using the basic cmd, try in elevated mode
Elevated Command Prompt - Windows 7 Forums

However looking at you screen shot, you may have to check the command over carefully. There does appear to be an error in the command. With my eyes, it is difficult at times to pick out the subtle shades of difference.

1 more replies
Relevance 60.27%

Hi everyone, what is the commmand for command prompt to stop a process? What i would like to do is make a shortcut to stop the KBD.exe process. The reason for that is when someone in my family puts a disk in, plays a game, and sometimes when they take the disk out it complains about there being no disk in the drive. The only way to shut it up is to end the process in the task manager and click cancel on the window. This way is a little to complicated for some of the memebers of my family and i would like to be able to just create a shortcut for it.

Answer:Whats the command line command to stop a process?


Originally Posted by djw2009913

Hi everyone, what is the commmand for command prompt to stop a process? What i would like to do is make a shortcut to stop the KBD.exe process. The reason for that is when someone in my family puts a disk in, plays a game, and sometimes when they take the disk out it complains about there being no disk in the drive. The only way to shut it up is to end the process in the task manager and click cancel on the window. This way is a little to complicated for some of the memebers of my family and i would like to be able to just create a shortcut for it.

Click on Start, then run
type in cmd to get to command prompt
type in taskkill /f kbd.exe

The forward slash /f forces it to kill the process.
Here is link for some examples

2 more replies
Relevance 59.04%

BOOTING PROBLEMS Cannot even boot to safe mode with command prompt after failed windows vista updateCan't format laptop but couldn't even boot in command promptI installed some Windows Updates requested by Windows Vista, and when booting to terminate the installation... lights went out and now I cannot boot in:Safe modeSafe mode with networking Safe mode with command promptLast Known Good Configuration (advanced) Directory services restore modeShould I run System Restore?I DO NOT want to lose my data, or format the hard drive.When try to boot in Safe Mode what I get is the black windows "safe mode" desktop, and in the corners of the desktop "Safe mode" as usual but only mouse responds. no keyboard. No Explorer, no command promptWhat should I do???Thanks!!!

More replies
Relevance 59.04%

Hello all, what command would I run to set JUST the secondary DNS on clients machine, and nothing else? I appreciate the help! :)

Answer:[SOLVED] What is the command line command to set up secondary DNS?

:) Anyone have any idea? Maybe this can be moved to the 2003 server forum?

3 more replies
Relevance 59.04%

I have created a manuals package. The package has a main file that everything else is linked to. I can create a self extracting exe program from pkzip application. What I don't know how to do is have the program create a shortcut to the main file from this program. If it is not possible to do this with pkzip then what application will do this.i.e. I want to have something say "Would you like to create a shortcut to Manuals or your desktop?" in the or any file extraction application.Thank youRJT

Answer:How to create self extracting command line command

You can create a WinScript file (.vbs extension)Example:set WshShell = WScript.CreateObject("WScript.Shell")         strDesktop = WshShell.SpecialFolders("Desktop")         set oShellLink = WshShell.CreateShortcut(strDesktop & "\Shortcut Script.lnk")         oShellLink.TargetPath = WScript.ScriptFullName         oShellLink.WindowStyle = 1         oShellLink.Hotkey = "CTRL+SHIFT+F"         oShellLink.IconLocation = "notepad.exe, 0"         oShellLink.Description = "Shortcut Script"         oShellLink.WorkingDirectory = strDesktop         oShellLink.SaveYou'll have to change the parameters for your own situation. Good Luck!

2 more replies
Relevance 59.04%

If I use the power icon and thenclick sleep my backup software will wake up my computer and backup run myschedule.
If I use any of the followingcommand lines, the software cannot wake my computer, I have ran ?powercfg/h /off? at C:\windows\system32 in Powershell as administrator
Does anyone know of a bettercommand to put the computer to sleep?
%windir%\System32\rundll32.exepowrprof.dll,SetSuspendState Standby
%windir%\System32\rundll32.exepowrprof.dll, SetSuspendState Standby
C:\Windows\System32\rundll32.exePowrprof.dll,SetSuspendState Sleep 0,1,0
C:\Windows\System32\rundll32.exe Powrprof.dll, SetSuspendStateSleep 0,1,0
Doyou know of a better command to put the computer to sleep

I downloaded psshutdown
C:\Windows\psshutdown.exe -d -t xx xx= number of sec till sleep

Answer:Win 10 home 64 bit command line Sleep command

JimO said:

If I use the power icon and thenclick sleep my backup software will wake up my computer and backup run myschedule.
If I use any of the followingcommand lines, the software cannot wake my computer, I have ran?powercfg/h /off? at C:\windows\system32 in Powershell as administrator
Does anyone know of a bettercommand to put the computer to sleep?
%windir%\System32\rundll32.exepowrprof.dll,SetSuspendState Standby
%windir%\System32\rundll32.exepowrprof.dll, SetSuspendState Standby
C:\Windows\System32\rundll32.exePowrprof.dll,SetSuspendState Sleep 0,1,0
C:\Windows\System32\rundll32.exe Powrprof.dll, SetSuspendStateSleep 0,1,0
Doyou know of a better command to put the computer to sleep

The first one simply turns Hibernation off, disables Fast Startup, and deletes the system file hiberfil.sys. I'm not aware of connection with Sleep or waking up on a trigger. I have these settings, as stated, on my machine, and I can still put it to sleep and wake it up. I'm not familiar with the last four at all, although sleep states are usually (I think) set in the BIOS. Whatever is set there is available in the OS. S0-S4, I think. Maybe S5.

A little more info here: NO Hibernation just SLEEP

Also, you might want to check your advanced power plan settings to see if you have enabled wake timers.

1 more replies
Relevance 56.99%

I came across this (hopefully) helpful article about command line basics.

Speaking UNIX: Command the power of the command line

Learn the basics of the UNIX shell and discover how you can use the command line to combine a finite set of UNIX utilities into data transforms.

Answer:Command the power of the command line

Good stuff, but then there's something wrong with his verbatim copy of a directory... You should add the p option to the tar extraction command, in order to preserve file attributes (ctime, mtime, atime, owner, group) - ie, tar xpvf and not tar xvf.

I use this regularly in order to make verbatim copies of a directory:

(cd /path/to/src/dir && tar cf - .)|(cd /path/to/dst/dir && tar xpvf -)

3 more replies
Relevance 56.99%

I want to create a setup whereas a command line command can be run from any directory/folder, without having to be in the directory/folder whereas the command line command resides ?

Answer:Executing command line command anywhere ?

Add the directory the cmd or bat files resides in to the PATH environment variable.

To check or modify the system PATH environment variable, do the following:

XP: Right clock on My Computer
Vista, 7: Right click on Computer
Windows 8, 10: Right click on This PC

Select Properties

Vista, 7, 8, 10: Click on Advanced System Properties on the left

On the Advanced tab, click on Environment Variables
Under System Variables, scroll down to Path
Select it then click Edit

An easy way to look at all of it is to right click on the highlighted Variable Value field and select copy, then start Notepad and paste the data into there. That way you can easily look at all of it.

It's also a lot easier to make changes in Notepad then copy and paste the changed data back into the Path Variable Value field.

Click Ok as needed to exit when done

4 more replies
Relevance 56.99%

I came across this (hopefully) helpful article about command line basics.

Speaking UNIX: Command the power of the command line

Learn the basics of the UNIX shell and discover how you can use the command line to combine a finite set of UNIX utilities into data transforms.

Answer:Command the power of the command line

Good stuff, but then there's something wrong with his verbatim copy of a directory... You should add the p option to the tar extraction command, in order to preserve file attributes (ctime, mtime, atime, owner, group) - ie, tar xpvf and not tar xvf.

I use this regularly in order to make verbatim copies of a directory:

(cd /path/to/src/dir && tar cf - .)|(cd /path/to/dst/dir && tar xpvf -)

3 more replies
Relevance 56.99%

I need some help, but probably don't have a full grasp on the problem, so don't really know how to ask for help. I will describe what I have and hopefully, it will help to describe what I want to accomplish.

I have a Linksys router with DD-WRT installed. I am able to SSH/Telnet into the router. I would like to be able to reboot or shutdown my computer remotely from the command line during a Putty/SSH session.

Here is how I make the session connection: In Putty, I enter
the static IP address and port (default is 22) under "Session".
Under "SSH > Tunnels" I enter the "source port" (again, 22)
and "Destination" (ex -, then hit "Add", then "Open"

This opens a command line, where I enter "user" and "pwd"
(the defaults are root and admin). I am now connected to my
router and I can use Remote Desktop to get control over my
remote computer (using XP Pro).

My question is: While at the command prompt, is there a
command to reboot or shutdown my remote computer? Is there a list
of other commands that are available here?

BTW, at the command prompt, I can start my remote computer (Wake on LAN) by typing the following command:
/usr/sbin/wol -i MA:CAD:RE:SS:44
(where the last portion is the MAC address)

More replies
Relevance 53.71%

I have a simple question. I know you change the event to something like "on key press", but what would you do if you wanted the script to happen when you press a certain button? For example, I'm trying to make it so that when I press enter it navigates to the URL in a combo box.

Answer:Solved: Command on a specific button in

This code should do the trick:

If (e.KeyCode = Keys.Enter) Then
'Insert code you want to execute here
End If
That will work in a KeyDown or KeyUp event handler, but not a KeyPress event handler.

3 more replies
Relevance 53.71%

on a page? in windows xp, you could hit F3 & it would bring up a box where you type in the word your searching for on a particular page & it would highlight it. when i hit f3 on windows 7 nothing happens. where is this command?

Answer:where is the F3 command that allows you to search for specific words

works for me in Win 7 with Firefox and IE.
Are your F keys working? some keyboards have dual purpose F keys and for some funky reason they don't default to the standard F keys.

4 more replies
Relevance 53.71%

Any one can help me..?    how to print a window(window ID known ) through DOS command..??

Answer:How to print a specific window through Dos command..???

No, I do not know the answer. But I just what to ask why would you want to do this? Why not just print in the normal way?

2 more replies
Relevance 53.71%

Why does the dir.txt command not work anymore when I want to list all the text files in a particular folder in dos? Whats the new command to do this? Thanks in advance.

Answer:How to use dir command to get specific file extension?

Have you tried "dir *.txt" (without the quotes) from the command line?"Channeling the spirit of jboy..."

2 more replies
Relevance 53.3%

Hi there,
I recently discovered how to download youtube videos manually by looking at the source code, and searching for specific encrypted url's which contain either the video or audio.

I want to make myself a batch file to make this process easier in the future, so here's what I want to do...

Search a file called "source.txt" (located in the same folder as the batch) for 3 different audio quality tags to see if they exist (some youtube videos will only contain "medium bitrate" quality audio, and so the source only contains that tag".
The three different tags are: "itag%3D139"(low bitrate audio), "itag%3D140"(medium bitrate audio) and "itag%3D141"(high bitrate audio).
So the batch should search for the highest bitrate file first (itag%3D141), and if it exists, return a user input saying "high bitrate audio was found. continue?(y/n)"
If that tag is not found, search for the next one down, and so on.
If user inputs "y" "GOTO DOWNLOAD". If not, "EXIT".

Ok, so now that the tag has been found, and the user has hit "y", the batch should now go back to that line in the text, then search for the first "\" symbol occurrence after that tag. The reason we are looking for the "\" is because this is the end of the URL we need to copy.
Once the batch finds the first \ that com... Read more

Answer:Find a specific line in text using batch - Need Help

While I'm at it,
If someone could give any suggestions, I'm looking for a way to automate copying the source code from a youtube video URL to file using console?

I have tried this Wget code, but it seems to not be able to extract it...
(wget" --no-check-certificate -o code.txt)

1 more replies
Relevance 53.3%

I've set up a shortcut on my desktop for the command prompt. Is there a way to program it to open on a specific directory. Thanks.

Answer:Open XP Command Prompt Specific Directory

You can add it to the context menu (also known as the right-click menu) so when you right click any folder, it'll open a command prompt window in that folders directory. Here's how:
Not exactly what you were looking for, but a reasonable replacement.

I hope that helps!


5 more replies
Relevance 52.89%

WEIRD! Any email sent to my account just vanishes if it contains the word "freeze". I sent myself an email from my smartphone to remind myself to freeze some leftover food when I got home. The message was sent (confirmed) from my smartphone, but never received on my smartphone (including spam and trash folders). When I got home expected to find it on my desktop (Dell WindowsXP), but it wasn't there, not in Inbox, Spam folder, or Trash folder---just GONE. I then sent myself a new message with the Subject line "freeze". It was sent (confirmed in Sent box, not present in Outbox since it had been sent), but it never arrived. Then sent myself successive messages starting with "ze" (successful receipt), "eeze" (successful receipt), and "reeze" (succesful receipt). Then when I sent "freeze" it was sent but never received. Also "freezing" and "free" are never received. I checked my Preferences for any filters, but I have none set up for any specific word or phrases or senders, so I have not blocked anything. I thought "free" sounds like spam, but I have no such filter and my Spam box is empty. So then I went to the Sent email with "reeze" in subject line, which had been received, and forwarded it to myself but changed the word "reeze" in the previously successful send to "freeze"---and as amazing as it may seem, the forwarded message went through bu... Read more

Answer:Specific word in Subject Line causes email to vaporize

6 more replies
Relevance 52.48%

Hi Guy's and Girls,

Just first off I've never been too good with CMD and only an Apprentice in my company I work for.

Now something I've wanted to do for awhile was to make the following but I don't necassirealy I know how to do this in one batch file:

I would need a Batch file that is able to read the follow;
Find Current Hard Drive Space and What is used (Dir can do this as far as im aware)
Convert the CMD information Into either a Excel Document or a .txt format.

If anyone could lend me a hand with this that would be great.

P.S the drives I want to make a log of are Server Destinations so i can monitor their disk space daily.

New Member

Answer:Command Line - Help

I don't know if this might help. I have a command line program that gives the free space in B KB MB GB using the largest appropriate. It's df.exe for disk free

[C:\Program Files\JPSoft\TCCLE13x64]df /?

df.exe Copyright 2014

Usage: df [ C D \\Name\Share ]
free disk space in one of B KB MB GB

( Truncated to 3 decimal places. )

[C:\Program Files\JPSoft\TCCLE13x64]df c
383.848 GB Free on c:

If you would like to try it, it is free and may be downloaded from my page here:
Miles Ahead Software

Edit: you can use command line redirection to output to a file.
For example to append the result to test.txt you can do
df c: >>test.txt

Edit2: You may specify more than one drive on the line.
[C:\Program Files\JPSoft\TCCLE13x64]df c e
383.848 GB Free on c:
65.669 GB Free on e:

[C:\Program Files\JPSoft\TCCLE13x64]

9 more replies
Relevance 52.48%
Question: AOL Command Line?

Foolishly signed up for AOL broadband (out of sheer laziness, I really should have known better!) and have found their online help to be a bit hazy in the area of commandline/batch commands.

What I want to be able to do is exit AOL, confirm my exit, exit AOL communicator (the nearest thing to POP3 that AOL offer) and shut down a few other programs I use all at once by means of a batch file.

Any ideas whether this is doable (the batch side of things I'm happy with, just the AOL command line stuff I'm not sure on).

Thanks guys.

More replies
Relevance 52.48%


I would like to know what is the command for delete files and shortcuts on current user desktop.

Is it del C:\documents and settings\*\local settings\desktop\popup blocker stops popups.lnk?

Using winxp pro. I know it is easlier to use windows explorer but I am doing this for interest.

Thank you.

Answer:Need some help on command line pls.

You are roughly right. When you open the DOS box, it will automatically be logged on the current user's account: C:\Documents and Settings\Account Name\

from there, change to the folder where the file or shortcut is located (for example, type CD Desktop, then press [ENTER]. Then type DEL (name of file or shorcut) and press [ENTER]

For stubborn files which won't delete while Windows is running, open the DOS box then end the EXPLORER.EXE process which quits the Windows shell but leaves the DOS box open for you to issue the DEL command on the stubborn file. When done, bring up the task-manager again (CTRL-ALT-DEL), log-off then log-on to restart the Windows shell.

2 more replies
Relevance 52.48%
Question: command line

is it possible to creat an admin account through a non admin account via command line?


Answer:command line

Not without admin rights, no.

3 more replies
Relevance 52.48%

How can I turn something like this:

into a Reg add command?

I need to turn a series of reg edits into a .bat to run, and am a little confused on how to convert between the two formats.

The original I have is from a .reg edit file, and I need to convert the keys to a .bat/ .cmd


Answer:Command Line Reg help

8 more replies
Relevance 52.48%

Not sure if this is the right place to post this but I wanted to ask a tricky question.

I want to be able to access another PC via telnet (this I can do easily via RADMIN software) which gives the the CMD prompt access.

I then want to be able to launch a Sound file (or similiar) so that the user on the other end just hears whatever sound I have triggered (i.e. it doesn't have to launch WMP or similiar software).

Any ideas on how to do this?

I know it can be done as a clever guy I used to work with set it up and it was quite comical in the office when he was able to trigger cow noises, etc from anyone's PC by remoting in via the backend.



Answer:run exe via command line

I don't know the answer, I just want to subscribe in case someone else does !

I suppose if you could figure out how the default Windows sounds are triggered you could find the command line to run them.

2 more replies
Relevance 52.48%
Question: Command Line Help

Hey, can anyone help me. I am trying to make a File using CMD edit which could dump all the tasks running. I can?t figure the code; I got "tasklist" part but then....
So I am a little lost, :dead: well actually I have no idea what I am doing . And while you are at it, can someone recommend me a program which has all the command lines and what they do. Or even those "click a command" programs (if there is one). Thanks.

(for the :suspiciou "why do I want it" folks, well I would copy the file on my USB disk drive, take it to the cafe down below and see which programs they are running - there is this program which, when I type "Patch" in the internet explorer shuts it down and so I am not able to download all those Quake, Farcry, Doom, Painkiller, Halflife and etc. patches which improve performance and add a little more game play. Then I would make another file which would shutdown those processes. Hope I am not confusing you guys.)

Answer:Command Line Help

Easiest way I can think of is to use
tasklist > "directory you want file in"\tasklist.txt
But I'm not sure I understand what you're asking for here. Perhaps you can try to clarify a bit?

1 more replies
Relevance 52.48%
Question: command-line log?

does win xp by default keep a log of command line commands executed?

i'm looking for a list of commands executed during the current windows session, but not the current session (i.e. I closed the command prompt window, but haven't logged out)

also: does win xp keep a log of ftp transfers done by the built-in ftp command line utility?

Thanks much!


Answer:command-line log?

No log, usually. You would need something like 4NT or PowerCmd to log command actions.

1 more replies
Relevance 52.48%
Question: command line

how do you change the messenger startup setting from disabled to automatic through the command line.

Answer:command line

can't. you have to change it to manual in the control panel before you can change it on the cmd line.

change setting. Then use cmd for the rest...

6 more replies
Relevance 52.48%
Question: command line

Are there any Windows equivalent commands for the following commands on Linux: launch a process one after another U type this:

foo1 && foo2 && foo3 & ... launch a process with a certain delay U type the following:

at +5min foo launch a process from a terminal but only in the background U just type & at the end of command.

Answer:command line

"at" is a simple dos command that still exists. type "help at" at the command prompt. Same for the "&&" placeholder (eg. dir && edit lists directory contents and starts the editor after that).

7 more replies
Relevance 52.48%
Question: Command Line

Do any of you guys know how to restart a network card? (disable/enable) from the command line in windows (particularly windows server 2003). I want to create a batch script to restart this if the server can't connect to something on the internet after a certain time period.

I'm having a problem with a network card just stopping to respond for some reason and the only way I can get it to work again is to restart it that way unless i want to restart the whole server. I had this problem with another server as well. About all I can think of is either the switch is malfunctioning or i'm screwing up some sort of dns issue.

Answer:Command Line

wouldn't it make more sense to try and figure out what is causing your problems? Patching things with duct tape won't get you far.

11 more replies
Relevance 52.48%
Question: Command line

I wish to have downloads from the Web transferred directly to a file I have on my desktop. Presently it goes to program files/x86/program name. I wish it to go to my desktop and into "My Downloads". if possible. Can anyone help me accomplish this task? I need the command line. Thank you.

Answer:Command line

Hi Alvin,

First, if you aren't prompted for where to download files, see the following article to make sure that happens: Not Prompted to Specify Download Folder for File.

Second, if you are prompted but don't like where it selects and want it to be a different location (like the folder on your desktop), check out the following article: How to change the default download directory for Internet Explorer | Windows Reference.

I hope this helps.

Good luck!

3 more replies
Relevance 52.48%
Question: command line

Hi Everyone...When I go to my computer and hit start button then the run button and type in 'ipconfig' or 'config' and some times other commands the screen comes up just for a spilt second and then it disappears. Now I have been in my registry trying to tweak my computer using tweak XP. I don't know if this has anything to do with but its the last thing I have done. I not sure when this started either. I run windows XP Pro sp 3 and its running pretty good right now. But something is wrong and I not sure where to start so if this makes any sense to someone I need some advice Please....and thanks tooLeRoyjoeEdit: Moved topic from XP to the more appropriate forum. ~ Animal

Answer:command line

open a command prompt window first
type cmd and then hit enter, and the command prompt window should open and any commands you now type wont disappear

2 more replies
Relevance 52.48%
Question: command line

Dear TS,

Currently I am working in access, fine tuning a little database.
In this little proggie I have made a button that directly links to a .bat-file that does nothing but open the folder H:/foto (Dutch)

In that folder are several kinds of criminal offenses.

It works like this for the user:

They click the photo-button, the folder opens and they will find by manual search the picture corresponding to the crime report. the pictures in that folder are ordered in sub-categories for a clear view.

What I'd d like to achieve is that the security-officials ONLY type something like "stepped on no-stepping-on-grass-sign" in a text bar and that they then click the photo-button and the H:/foto/stepped on no-stepping-on-grass-sign folder opens.

I know the idea of typing (part of a) directory and then press a button is just as lame as just viewing a folder that has only 25 sub folders anyway, but it's just what the security-officials want...

Thank you very much for your attention and help,


Meneer Geerts.

Answer:command line

I have an idea...don't know if it would work. Make a table in access; query to search the table on the partial name; attribute in the table is the full directory name or even the entire command line string. Put this on a macro that sends the result of the query to the command line?

2 more replies
Relevance 52.48%
Question: Command Line

I am using Remote Destop Connection through Terminal Server for my stores to log into our point of sale, Which is on a Windows 2003 Server. Under the user accounts, it says I can have TS automatically open a specific program when they log in, but I have to enter that programs command line. How do I find what the command line for that progrram is?

Our pos also has an email client built in which can scan files with antivirus software. I need to find the command line for Norton AV too.

Answer:Command Line

I would think they are talking about the path to the file.

c:\Program Files\etc.....

1 more replies
Relevance 52.48%

Ok short version first

I need to find a way to put the output of one program into the command line of another.

Dates.exe -> 6-3-2005
Zip *.html
output into
is basicly what I want to do

If that doesn't make sence heres the long version

I have a stat program that generates html files, now in order to sort them I want to use the date as a filename for the zip file. So I have a date program that outputs the right format and a command line archive utility(zip program). .... MY Problem is I can't figure out how to set a variable from a txt file or output of the Date program, or use the output of the Date program in the command line of the zip program.

If anyonw can help please do.

Answer:Need some command line help


4 more replies
Relevance 52.48%
Question: DEL command line

If I have created a new folder on my C: file and named it: "Odd Bods" for example.

Using the DEL Command Prompt in XP, what is the exact syntax to forcibly delete it?

I have tried by opening the Command Prompt and typing in "CD \" then enter to bring up the cursor "C:\>". Then I have typed: "Del /F Odd Bods" and "enter". The message then comes up; "Are you sure? y/n". I then type: "y" and enter, but the folder is not deleted.


Answer:DEL command line

If folder is on desktop:

Enter 'cmd /k' (no quotes)
Enter 'cd\' (will get you the C:\ prompt)
Enter 'cd\Documents and Settings\{your user name}\Desktop'
Enter 'dir /w'

If you can see the item, Enter 'erase [filename]'

del [filename] also works - for a directory (maybe folders too) RD [directory] works

edit: if you do the Start, run, cmd /k thing then type 'help' you'll get a list of the limited MSDOS commands remaining in the poor excuse for DOS XP supports.

For details on those, type, for example, 'help del' and you'll get the possible options.

8 more replies
Relevance 52.48%

does win xp by default keep a log of command line commands executed?

i'm looking for a list of commands executed during the current windows session, but not the current session (i.e. I closed the command prompt window, but haven't logged out)

also: does win xp keep a log of ftp transfers done by the built-in ftp command line utility?

Thanks much!


Answer:Log Of Command Line?

No to both. I'm unaware of an easy way to do this, preferring to save my sessions with the screen capture utility and pasting it into MSPaint.

1 more replies
Relevance 52.48%
Question: Command Line

Is there a cmd.exe /switch for ?run as administrator? ?


Answer:Command Line

Quote: Originally Posted by win7clutz

Is there a cmd.exe /switch for ?run as administrator? ?


Not that I'm aware of, but if you click the start orb, type "cmd" (without quotes) then right-click "cmd.exe" in the search results, you can then select "Run as Administrator" (but you already knew that...)

Here is a part of the switches available to CMD.EXE (You can get more by opening a command line window, then type "CMD /?" (without quotes) and pressing <ENTER>:

C:\Users\Peter Dzomlija>cmd /?
Starts a new instance of the Windows command interpreter
CMD [/A | /U] [/Q] [/D] [/E:ON | /E:OFF] [/F:ON | /F:OFF] [/V:ON | /V:OFF]
[[/S] [/C | /K] string]
/C Carries out the command specified by string and then terminates
/K Carries out the command specified by string but remains
/S Modifies the treatment of string after /C or /K (see below)
/Q Turns echo off
/D Disable execution of AutoRun commands from registry (see below)
/A Causes the output of internal commands to a pipe or file to be ANSI
/U Causes the output of internal commands to a pipe or file to be
/T:fg Sets the foreground/background colors (see COLOR /? for more info)
/E:ON Enable command extensions (see below)
/E:OFF Disable command extensions (see below)
/F:ON Enable file and directory name completion characters (see below)
/F:OFF Disable file and... Read more

4 more replies
Relevance 52.48%

Wiondows XP has lost startup files. What is command line to copy all these files back onto machine for startup? And what is the complete set of files needed? thanks.

More replies
Relevance 52.48%
Question: Run Command Line

Anybody know the Run command to show ip address' etc on a XP and Vista machine. Cheers all

Answer:Run Command Line

I know that you start with cmd

2 more replies
Relevance 52.48%
Question: DOS Command Line

Hi there-

Just reorganising my Library and for reasons I won't bore you with, need to do some mass amendments to Filenames to get rid of extraneous Info as I'm tight on Space.

So, for instance, I have a Folder (DIRectory) with one hundred PDF, Mobi, RAR, ZIP, CBR and CBZ files in it all with filenames in the following format :-

Henry Rider Haggard (Victorian Novelist, Africa Hand) [Title of Short Story/Novel/Graphic Novel].???

As :-

a) I do happen to know who H Rider Haggard is (having read my first book of his 55 years ago when I was Ten)
b) All the Files are going to go into a Directory (Folder) Entitled "Henry Rider Haggard" (in case I suddenly get struck down with Oldtimer's disease)

then I want to get rid of the words "Henry Rider Haggard (Victorian Novelist, Africa Hand)" which is common to every Filename.

My latest attempt at a Command Line blanket change from within the Folder (Directory) was the DOS command -

REN "Henry Rider Haggard (Victorian Novelist, Africa Hand)"*.??? *.???

I have also tried :-

Using the different extensions (.CBR .ZIP .RAR etc ) to change them 20 or 30 at a time
Using the same Format but *.* instead of *.???
Using no Inverted Commas on the part of the Description that I want to get rid of

Yes, I DO realise that in the time I have spent fiddling about with Command Line and composing this Post I COULD have done the whole thing Manually, BUT I have Sixty Five separate Authors to create Directories (Folders)... Read more

Answer:DOS Command Line

There is no such thing as Dos. Dos went the way of the Dodo bird, after 98 died. You have a Command window, that you can do certain things in. But what you are wanting to do, I am lost. It sounds like you are telling a story, not asking a question.

If you want to change a file name, you do it from Explorer in the Desktop. If you want to edit a file, you do it from what ever program was used to create the file.

44 more replies
Relevance 52.48%
Question: command line

How do I create a batch file that will execute an exe and have this syntax "omnimm -repository_barcode_scan HP:UHDL-LTO_eilrhmw001" follow through:-e.gecho offstart "C:\program files\omniback\bin\omnimm.exe" omnimm -repository_barcode_scan HP:UHDL-LTO_eilrhmw001What I would like to know is how can the above action be incooperated to the exe file when it is executed?

Answer:command line

combine the offstart "C:\Program Files\omniback\bin\omnimm.exe -repository_barcode_scan HP:UHDL-LTO_eilrhmw001"that should be what you need (tested on XP SP2, works for me)

1 more replies
Relevance 52.48%

I recently installed new software that requires adding a command line to allow the software to restart and configure itself at start up. The manufacturer, who hasn't responded to my e-mail gives instructions to automatically load this software already configured by using the "command line". I'm using XP Pro. I believe that it's the last line below that needs to be loaded but my question is how do I so this. Here are the manufacturers instructions.
VSPEmulator.exe <config file path> <options>
Config file is a special file with extension ".vspe" that can be created using VSPE "Save as..." command.
Options are additional parameters that can be passed to VSPE to manage its basic behavior.
-minimize : minimize VSPE dialog
-hide_splash : do not show splash window

Execute VSPE and automatically load configuration file
VSPEmulator.exe c:/config_files/main.vspe

Execute, load configuration file, hide splash and minimize VSPE
VSPEmulator.exe c:/config_files/main.vspe -minimize -hide_splash

Answer:How do i use the command line in xp

6 more replies
Relevance 52.48%

How do we check if IE has finished downloading a file through command line..?

Answer:IE 6 Command line help

Start>Search>Name of File. Most downloads tell you when they're finished and if you need to manually install.

3 more replies
Relevance 52.48%

I was given a laptop to try an repair. None of the applications would open, it either asked how you want to open it or say no application found. After several tries I was able to do a virus scan. Couple Trojans and virus. Still no change in laptop. I googled the question and found someone asking a question with similar problem & was told to download this scan. I figured I had nothing to lose the laptop wasn't working so I outsmarted the virus & downloaded the program... After downloading, it needed to reboot. but before I allowed it to reboot I noticed the applications suddenly working... Rebooted & scanned. Its came up with 4 Trojans, 4 viruses & over 200 accounts of spyware. To remove them was $40 with $30 mail in rebate... My friend suggested that what I had downloaded was one of those scams that give you the Trojan & make you think they are getting rid of it for a price. They suggested I do a killdisk to wipe out the HDD and reinstall the OS.
Killdisk worked, it says I need to do a FDISK & FORMAT before I can download the new OS. I can't figure out how to do that. I get a blank black screen with a curser but it won't take any code. I have tried downloading the OS (windows XP) and it says it can't find any hard disk drives.

What am I doing wrong?

Answer:how do you get a command line?

10 more replies
Relevance 52.48%

I've been messing around with the ftp program in Windows XP's command prompt, and I've got something odd happening.

I uploaded a copy of AVG to my own website so I wouldn't have to hunt for it and so I could use this ftp program to download it. After giving the "get" command with the file name, the file downloads. But when it's done...if I go to run it, a new command prompt window opens for a split second, shows nothing, and disappears. This has happened on two different PCs now.

If I use a web browser to download the files, it works. I'm not sure what to make out of this. Could I be doing something wrong?

Answer:FTP at the command line

Sounds right, FTP is pretty simple. What is the FTP server on the other end that is dishing out the file?

1 more replies
Relevance 52.48%

I want to store >> into a SET variable.

Normally, I would do this:
However this returns an error.

How can I store >> without using quotation marks?

It needs to be >> in order for my script to work correctly?

Hope you guys can help.


Answer:SET command in Command Line

10 more replies
Relevance 52.48%

... display an HTML file in the command prompt?

I know I've seen it before...

You go into command prompt, give the command or commands, and it would display the html file... obviously as text, with some information before it and so forth.

Does anyone know what it is/how to do it? I can't remember where I saw it and I can't remember how to do it...

Answer:Command line command to...

type filename.txt or in your case, type filename.html

9 more replies
Relevance 52.07%

Hi all,

I am looking for a way to scan documents using a command line.

I downloaded and used a 3rd party application called CLScan and it works awesome, but I am at the end of the trial period. So I got the choice to buy the full version or to find a cheaper solution. So far I did not find another software that could do all as CLScan.

Any thoughts? Thank you.

Answer:Command line scanning

I haven't tried it. Just found via search engine:

Download CmdTwain 0.03 Free - A program that allows you to run your document scanner from the command line - Softpedia

2 more replies
Relevance 52.07%

Good Morning All,
I have been looking for a tutorial on creating a batch file to uninstall a program and remove any registry keys associated with it.
For example, we want to uninstall Symantec Endpoint Protection v. 12.  I used their suggested approach which is to run msiexec.exe /q/x <product code> from the command line after manually finding the product code in the regedit.  I want to know how to query the registry for the product code (which is under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall), because we have it on 150 workstations and I have only looked at about 25 machines and there are 6 different product uninstall codes so far.
I want to query the product code, then run the cmd msiexec.exe /q/x <product code> to uninstall the product.
Can anyone help with this scenario or point me to a good tutorial of how to use reg query?

Answer:Using Command Line for Reg Query

Where MACHINENAME is the name of the remote machine.
Run REG /QUERY /? for more help and examples.

1 more replies
Relevance 52.07%

Im looking for a CLI type program or command to encrypt an ntfs volume.

Anyone know of a command already present that would encrypt a drive/voume?

i figured encryption = security so ill drop the post here.

Answer:Command line utilities

What OS are you using, Windows something? If so, just be aware that encrypting the drive is actually something done only if you are really aware of the risks. The biggest risk is the OS which case you can't unencrypt your data. May as well toss it. This is because the OS controls the encryption key. Once that key is lost, the battle is all over.

Most security experts will first say don't do it. But if you absolutely need it, then go for it.

I know Windows XP has encryption available, but I'm not aware of the CLI command to do it...

Here is a link for some possibly useful info:

5 more replies
Relevance 52.07%

I have the AA A to B routing program. When started one has to load in the routing data. From help it states that the routing data can be automatically loaded by altering the Command Line Options.It doesn't tell you how to do this, can anyone help.I am running Windows XP.

Answer:Command Line Options A to B

f you right click on the program icon, and look in properetoes, you will se an entry for Target.This is basically the command to start the program - it probably has quotes at the start and end on the entry.You add the command line modification after a space, after the end of the command line - but before the final quotes.

3 more replies
Relevance 52.07%

Is there a way to run a batch zip job from the command line in windows, or do i need a third party program (like 7zip)?

Answer:Windows - Command Line Zip

What version of windows?

For Xp you can use compact.exe /? to find all the switches for the built-in compression utility, but I don't know if it works with anything newer.

4 more replies
Relevance 52.07%
Question: Command line games

I am looking for a program that will let you make games that work through a command line interface. (A CLI game)I have searched Google, and have found nothing.

Answer:Command line games

You mean in the olden time when we use to play game in dos mode or window mode.Well java (not javascript) will probaly let you do it but is best to use Visual Basic C++ to build them and the file probably will be .exeThe easy way to make a good graphical game is Flash using Action Script

7 more replies
Relevance 52.07%

When I moved into XP from my computer I really didn't like Documents and Settings XP uses, so I created a My Documents in my root directory, similar to what Win98SE uses.

Nowadays I'm running some software that needs the Command line as a equivalent to DOS, and I ran into an odd problem.

My Documents folder seems to be invisible to the Command line. I could not enter the folder using the Command line at all. I solved the problem by renaming the folder to Bills Documents, but it is kinda odd.

Is there an attribute I'm missing somewhere? Thanks.

Answer:XP Command Line and My Documents

In both My Documents and Bills Documents did the folder name contain a "space"? Did you try the shortened version like mydocu~1 or maybe "my documents"?

7 more replies
Relevance 52.07%

I am trying to add a user via the command line through a virtual pc I added with VMWare. I'm running windows 10, and unable to add because this is what I get when I open CMD: I can't go beyond this point, I keep getting error messages. Any help would be deeply appreciated. Thank you, Tina

Answer:Can't add user via command line

Have you tried doing this via an elevated command prompt? Right click on the start button icon and select Command Prompt (Admin)

2 more replies
Relevance 52.07%

I'm looking for a native x64 command line tool that can display the amount of free RAM. It has to be a true x64 tool. Does anyone know one? My google searches brought up nothing.

Edit: I finally found what I was looking for. RamStatus is the tool that helped me out.

More replies
Relevance 52.07%

Hey all,

I'm after a program that will log exactly what my computer is doing and how, so if i open a program it will show me "start devmgmt.msc" for when device manager is opened, or something like that, as I am into doing my little batch files (as we all do ) - Does anyone know if a piece of software exists?


Answer:Command line ?Scanner?

Many programs do that, for example:
Keystroke Recorder - Keystroke Logger - Log Keystrokes - Download Key stroke Recorder

Hope it helps.

5 more replies
Relevance 52.07%
Question: Command Line Error

Hi everyone,

I have setup my computer so that I can develop programmes using commands like ./configure and make. However, although make works with the command line (cmd.exe), ./configure will not. I always recieve the following message:

C:\Documents and Settings\<username>./configure
'.' is not recognized as an internal or external command,
operable program or batch file.

Is there some way that I can have the command line recognize such a command?

Thankyou for your help.

Edit: How can I delete this message? First posts cannot be removed...

More replies
Relevance 52.07%

everytime i try and start a command line program, the program flickers then exits, this is extremely irritating and i am trying to run command lines with no luck pleaseee help me out on this one!

Answer:Command line error!!

Howdy d213753

Are you clicking Run..the typing in command? Also you can try typing in cmd.exe

4 more replies
Relevance 52.07%

hey guys could anyone tell me what the command line is like in Win7? i'm running XP and was thinking of moving to OSX to have access to a robust command line.

thanks guys

Answer:Windows 7 and the command line

10 more replies
Relevance 52.07%

I am working through a FBI virus notebook running Windows 7.

Using Kickstart I know which files I need to remove.

The file is "skype.dat" in the App Data\Roaming folder.

When I go into command prompt from the Repair Console the App data folder is hidden.

I'm currently trying the shards attribute but I'm getting alot of "access denied" reports from tmp files. I can't tell if it's endlessly looping or if it has yet to run through the entire folder.

Is there another way to get into this folder? I've done this process several times before but this is the first time I've been unable to access the App Data folder. There isn't a password set for the user.

I remember now that I'm signed on as the user...I've no idea if it's an admin account or not. I'll try to access another account and work at it from that angle.

My question is this: What would the proper DOS command be to make hidden folders visible? Not just visible but also to manipulate them and the files within? Is the -s-h-a-r/d/s the only way?

Answer:Solved: Command line help!!!

EDIT: Figured it out. Thanks anyway.

2 more replies
Relevance 52.07%

Win XP Home. On start up am getting window "install shield" "command line parameters" etc.
Any way to get rid of it? Tried to Restore but as usual it rarely works. Thanks, Ed

More replies
Relevance 52.07%

I want to open several URLs from a task scheduler so that they all appear in the same IE9 window as separate tabs. How is this possible?

More replies
Relevance 52.07%

I received a Fujitsu Amilo, 80GB notepad running WinXP.

I'm trying to partition the disc into 4v20GB drives. NOw I have tried to use the Windows Doc Management facility - it does not work! You know, when you right click on the Primary partion (there is one only partition shown - 79GB) but, previously with previous computers, when you right click, the sub-menu that appears has a 'make new partition' selection. With this computer, when I right click, that selection is greyed out and unavailable. Now I must explain that the suppliers of this computer did not supply the original Windows didk but rather what they call a 'Recovery disk' What I assume is that this 'Recovery' disk does not supply the partitioning facility.
Anyway, so I tried to partition using the command line and the 'diskpart' command. Everything worked fine until I get to the final command where you enter what you want? This is my problem - how exactly do you enter the command?

I checked the Windows Help facility and entered 'create partition logical 20GB

but then received a list of commands to be used with 'diskpart'

I then tried 'create partition logical 20'

and back came the list

and the same thing happened with 'create logical drive size 20

and with 'create logical drive [size 20]

Could someone please tell me what I should type - or do - for me to create four partitions on my hard drive of sizes 20GB; 20GB; 20GB and whateve... Read more

Answer:Partition - using command line


You have Operating System on that Hard drive already?

1 more replies
Relevance 52.07%

I keep getting Command Line Interface has stopped working - how do i fix it because it is really annoying me now - can anyone help me please. Thanks Clare

Answer:Command Line Interface

Hello Clare, and welcome to Vista Forums.

What are you usually doing or running when you get this error?

Have you already tried a System Restore using a restore point dated before you get this error?

Hope this helps for now,

2 more replies
Relevance 52.07%

While readind a link in a post for athread here I ran across this article. Good for those who like using command line programs and utilities. Also explains use of some and links to good other code. One I found interesting was UnixUtils. It's a windows port of alot of unix type commands. I keep a toolkit folder already with normal 'windows' programs and now will make another. Article shows how to place it in the 'path' so you just need the command name not the fully qualified path to use the commands directly.

Answer:Command-Line toolkit

Hi Imandy

Yeah the CMD line can be really useful in may circumstances, not used as much these days but I still rely on a few commands a lot for troubleshooting especially network issues and tracert is great for that.

The guide is good but missed a fair bit out, while I think they are concentrating on the general commands the full list and explanations are HERE @ TechNet (TechNet/MSDN is a great resource that should be read at times, while its aimed at technical folk, its still apt for many issues ot advice you may need)

9 more replies
Relevance 52.07%

Hello all-

I have two Windows XP -- one Home, one Professional -- machines attempting to connect wirelessly to a vanilla Netgear access point. The XP Pro machine connects fine. The XP Home machine sees the Wi-Fi network, connects, accepts the password, and says it's connected -- but Web browsers and other Windows network apps will not connect to the Internet (they just hang for a long time before timing out).

But! If I open a command prompt, I can ping external sites and even use command-line ftp to connect to sites without a problem!

I've gone over the network configuration of both machines and can't see any difference between the two. The Netgear access point doesn't have any kind of MAC address filtering turned on. Is there something I should be looking for that I'm missing?

As an extra added strange data point -- I've tried to connect to the network via a Mac OS X machine and saw the same behavior as on the XP Home machine -- GUI-based programs won't connect, but command-line utilities will. Meanwhile, an Apple iPhone was able to connect and work perfectly.

Thanks in advance for any advice!


Answer:Can connect via the command line, but not any way else

7 more replies
Relevance 52.07%


I'm using for (force) end some processes only task manager.
It can be nice solution how to end process by command line, or even force end process - without opening task manager.
Simple process ending items to add to context menu 'cause I need to end only specific processes.

Is it possible?
If, how?

Thank you for each help.

Answer:How to end process by command line?

Maybe this will help?

1 more replies
Relevance 52.07%


I want to edit the file that DOS executes automatically when it opens. I tried putting my commands in C:\autoexec.bat and C:\Windows\System32\autoexec.nt. After rebooting, the commands still weren't executed when I open command line.

Where is the file that DOS reads commands from automatically when it starts???


Answer:QUESTION ABOUT DOS (command line)

This was done away with in Vista. Windows now boots from the BCD and you'll have to learn to edit the BCD (Boot Configuration Data).

Here's a link on it: Boot Configuration Data Editor Frequently Asked Questions
And here's a whitepaper on it:

1 more replies
Relevance 52.07%

As always, I come to the forums as a last resort. You guys haven't let me down so far...

Anyway, I'm trying to figure out how to run Symantec Ghost Console (part of the Solution Suite) completely from the command line. In terms of functionality, everything is working from the GUI, but I want to replicate everything that I've done there in the command line.

I've tried running "ghost.exe", but it won't run outside of DOS (and I need to stay in Windows). I know that "ngcons.exe" lets me execute tasks, but I need to be able to create tasks, place computers into groups, etc.

I have Ghost Console running on a Win2K3 machine, and a bunch of other computers running Ghost Client (also on Win2K3 machines). Any ideas?

Answer:Ghost from the command line

so you want to start a ghost session from inside windows?

1 more replies
Relevance 52.07%

I am trying to run a command line prompt utility from Microsoft on windows 7. Sure I am doing something wrong, after I click the downloaded .exe file the command prompt pops up briefly then disappears. Can someone explain the basics of running a command line utility on win7? Thanks!

This is the one I am trying to run....(this is just one of many on this site


Answer:How to run a command line utility?

Please explain in further detail. I can get to the sight, but don't know what you are after.

9 more replies
Relevance 52.07%

so i am trying to change the name of a picture in my windows 7 system through the command line. I dont want to use the gui. I enter REN , space, then the name of the file (IMAG0076.jpg), space, then CONTAINER.jpg. But it wont do it. It says, "system file not found", but I knbow that picture exists. Why won't it rename the picture?

Answer:command line problem

are you in the location where the file is located?

3 more replies
Relevance 52.07%

Hi, I have a very specific need. I need to find out the [unknown] command line arguments/switches of an executable. The executable does not have the /? switch, so a simple solution such as that will not work. I know a few switches that it has, such as /win and /norender. I also have PE explorer if that helps any. So, does anyone have a way of finding the switches without "/?" ?

Answer:Command Line Arguments

there is no way, aside from the programs help files, to see how it manipulates and parses the command-line.It's likely that the switches themselves are saved as plaintext somewhere- the trick is that they are unlikely to be stored as say, "/norender" or "/win" instead, try looking for "norender" or "win", and look for other, nearby words in the area where you find them.

8 more replies
Relevance 52.07%

So I've got another command line problem. I am trying to create and edit batch files on a win 7 core i7 system. So I get to the root c directory, type edit, hit enter, and it says "edit is not recognized as an internal or external command, operable program or batch file. Why won't it open the editor?

Answer:another command line problem

Which editor are you trying to open? "Edit" is not any command line phrase I know of...

7 more replies
Relevance 52.07%

i have windows xp home edition and ie command line is missing as soon as i boot.
links and favorites work ok so if i want to visit a web page that is not a link or in my favor
ites i send myself an email with the address. in windows and internet explorer under
view-toolbar address bar is checked and when i rightclick any menu address bar is checked.
malcolm carr

Answer:command line missin g

I had that problem once. It may have been dragged to the far right so it is not visible. If you unlock the toolbar (right-click, unlock) then try dragging any toolbars back on from the side.

1 more replies
Relevance 52.07%

i have a few computers at my house and they all use windows. I want to control them via command line and i have a few questions about that.

1. What commands do I use to show the current work group my user is in, the current user that's logged in and current password my user uses to log in.

2.Do the same commands work for windows visa and 7

3.Can I change a setting via command line that will allow remote desktop connection to a computer?

Answer:Command line questions

1.Users are not in Work Groups. Computers are. Users are assigned to Local Groups. Your are not going to show the password. That is encrypted. Type the command SET at the cmd prompt and you will see a few things you want.

2. Pretty much. Plus they have a few more options.

3. Can't recall. I think you can toggle that on and off with the registry. I am sure if you Google searched you might find an anszwer.

1 more replies
Relevance 52.07%

You can use the sc.exe command to start, stop, configure, and manage various aspects of services in the same way that you can on earlier versions of Windows. On Windows Vista, however, the sc.exe command has been enhanced with new command-line switches.
New switches for specifying required privileges for a service include: -privs Sets the required privileges for a service. -qprivs Queries for the required privileges of a service.
New switches that support per-service SIDs include: -sidtype Changes a service?s SID. -qsidtype Retrieves the setting for service?s SID.
New switches to enable configuration of the FailureActionsOnNonCrashFailures setting include: -failureflag Changes the setting of the FailureActionsOnNonCrashFailures flag. -qfailureflag Retrieves the setting for the FailureActionsOnNonCrashFailures flag. -showsid Displays the service SID string corresponding to an arbitrary name. -stop This is an old setting that has been enhanced in Windows Vista to specify the stop reason. This enables postmortem reliability analysis to find out reasons (by examining the event logged by the SCM with the stop reason) an administrator would stop a service.
For more information about these new command-line switches for sc.exe, type sc /? at a command prompt.

Answer:New Command-Line Switches for Sc.exe

thanks for the useful tips

3 more replies