Re: Changing directory in command prompt
- From: Tom Porterfield <tpporter@xxxxxxxx>
- Date: Tue, 31 May 2005 12:49:43 -0400
Peter Aitken wrote:
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?
Are you using command.com or cmd.exe? If using command.com you need to pass it the 8.3 name of the folder. Ex:
cd progra~1
Better is to use cmd.exe where, where either of the two formats you have listed above will work.
--
Tom Porterfield
MS-MVP Windows
http://support.telop.org
Please post all follow-ups to the newsgroup only. .
- References:
- Changing directory in command prompt
- From: Peter Aitken
- Changing directory in command prompt
- Prev by Date: Re: Changing directory in command prompt
- Next by Date: Re: System Monitor ?
- Previous by thread: Re: Changing directory in command prompt
- Next by thread: Re: Changing directory in command prompt
- Index(es):
Relevant Pages
|
|