Re: Changing directory in command prompt



Peter,

It depends on directory where you are in currently. Typing CMD in Run dialog usually gets you to this location

X:\Documents and Settings\{username}

So you'll need to type this to change the Program Files directory.

CD\Program files

--
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

  • Re: cant open user accounts
    ... You can confirm it by double-clicking the mshta.exe in your System32 folder. ... Windows XP Shell/User ... At the command prompt I typed assoc.hta=htafile and hit enter the window repeated hta=htafile and then returned another command prompt line, C:documents,settings, owner> ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: file deleting
    ... Microsoft MVP [Windows XP Shell/User] ... how do i try with the command prompt? ... cannot find the specified file. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: File Attributes
    ... have you tried deleting the file from Safe Mode / Command Prompt etc? ... Ramesh, Microsoft MVP ... Windows XP Shell/User ... Windows XP Home Edition. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Duplicated Favorites Folder
    ... I now see that you've renamed the folder. ... Microsoft MVP [Windows XP Shell/User] ... When I click on Command prompt I see ...
    (microsoft.public.windowsxp.general)
  • Re: Changing directory in command prompt
    ... Windows XP Shell/User ... Run to open a command prompt but am having trouble using CD to change to the proper folder. ...
    (microsoft.public.windowsxp.general)