Re: Changing directory in command prompt



If you're using command.com, then try this short file name

CD\Progra~1
(Program files is usually "Progra~1" )

You may use DIR /X to view the file/folder names' short path.

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org


"Peter Aitken" <paitken@xxxxxxxxxxxxx> wrote in message news:u8a2y1fZFHA.2768@xxxxxxxxxxxxxxxxxxxxxxx
I need to execute a command line program in a specific folder. I have used Start, Run to open a command prompt but am having trouble using CD to change to the proper folder. The problem is that the path includes spaces. Thus

CD program files

does not work nor does

CD "program files"

How can I get the command prompt to the proper folder?
--
Peter Aitken

Remove the crap from my email address before using.


.



Relevant Pages