Tech Support > Computers & Technology > DOS Navigation in WinXP
DOS Navigation in WinXP
Posted by Jason Zolghadr on September 20th, 2004


Ok, I know there "is no dos in XP...."

At the emulated Dos Prompt, how do I navigate through or change
directories to folders that have spaces in the name?

For Example, I want to CD to a folder called "Sound FX".

At the c: prompt, typing:

cd sound fx

Results in the error:

Invalid Directory

Where as the dir listing command clearly lists this folder.

Any help would be appreciated

-Jason Z

Posted by Bruce the Shark on September 20th, 2004


Jason Zolghadr wrote:

Folders and filenames that contain spaces need quotes. So use:

cd "sound fx"



Posted by Ingeborg on September 20th, 2004


jzolghadr@yahoo.com (Jason Zolghadr) wrote in
news:55b1c674.0409200349.2f0124b4@posting.google.c om:

CD "sound fx"

Posted by Jason Zolghadr on September 20th, 2004


Ingeborg <a@b.invalid> wrote in message news:<2r7umlF174d65U1@uni-berlin.de>...
Thank you for your prompt reply.

However, when I try this, ( cd "sound fx" ) I still get an error message:

Parameter format not correct - "sound

It appears to still disregard the rest of the name..

-Jason Z

Posted by Ralph Wade Phillips on September 21st, 2004


Howdy!

"Jason Zolghadr" <jzolghadr@yahoo.com> wrote in message
news:55b1c674.0409200349.2f0124b4@posting.google.c om...
If you're running CMD, then it should work.

If, however, you're running COMMAND - use the 8.3 format name -
usually SOUNDF~1 .

RwP



Posted by All Things Mopar on September 24th, 2004


Jason Zolghadr commented courteously ...

Hi, Jason. How exactly are you accessing "DOS" in your
version of XP? Shortcut? Start>run? If either, what XP
program name are you using? cmd or command?

I just opened a "DOS" window and tried a bunch of my long
folder names with spaces. e.g.:

cd wild wheels at work day
cd Troy Historical Museum JPGs
cd b.b.u.m.c. pictures
cd cars at dealers posted
cd 2004-08-02 downloads
cd "judi & jerry vacation pictures"
cd "dcc & archives reposted"

As you can see, long folder names with spaces in them work
(at least for me). But, some special characters - the
ampersand for example - require the folder name to be
enclosed in double quotes or I get the error 'the system
cannot find the path specified 'archives' is not recognized'
This is because the ampersand is a separator to "DOS".

I have Win XP Pro SP1 (ain't gonna go for SP2 for quite
awhile!) For convenience, I set up a shortcut on my desktop
with this for the program: C:\WINDOWS\system32\cmd.exe. But,
I also tried the above folders using the simpler Start>Run>
cmd.

However, if you are using the old Win 98-style Start>Run>
command, it will fail exactly as you describe. If you're
doing that, please try cmd instead.

If there is anything out-of-the-ordinary that you might be
doing, please post your exact sequence of steps. Perhaps one
of us will be able to diagnos your failure.

Good luck and I hope you find a solution soon!

-- Jerry


Similar Posts