Dos in Windows XP (cd with spaces)

DAGTA

Diamond Member
Oct 9, 1999
8,172
1
0
I'm using a Dos prompt (CMD.exe) in Windows XP Professional and simply trying to change directory to Program Files. On other XP computers, I simply use quotes, such as:
cd "Program Files"
However, on my computer, it's still getting hung up on the space and not ignoring it. Is there a setting I'm missing?

Thanks for the help!
-DAGTA
 

spyordie007

Diamond Member
May 28, 2001
6,229
0
0
1. It's not DOS simply a CLI (Command Line Interface) for Windows XP
2. There is not anything you are missing, the way you have it typed "cd "program files"" is the correct command to change directories from the CLI in Windows XP and 2000. I'm not aware of anything that would alter this behavior.

One thing you could try is typing "cd progra" and hitting the "tab" key, it should complete it so it displays "cd "Program Files"" and you should be able to hit enter at that point, if tab doesnt complete it than there is no "Program Files" directory on the volume you are currently working.
 

DAGTA

Diamond Member
Oct 9, 1999
8,172
1
0
Thanks for the help. I realized my mistake, though. I had gone to start-run and typed in command instead of cmd.exe.
Doh!
Thanks again!
-DAGTA
 

stash

Diamond Member
Jun 22, 2000
5,468
0
0
On the Windows 2000 and XP CLIs, it isnt necessary to enclose directory names that have spaces in quotes.