How to driect folders in command line?

C

Craig

In a Command Prompt window, I see following line:

c:\Documents and Settings\Craig>

How can I change into D-driver (D:\) or change folder (e.g. C:\songs\)?

OS: WinXP Pro SP2.

TIA. Craig
 
G

Guest

Rightclick Command Prompt icon and click Properties>shortcut tab
You can edit the "Start In:" line to whatever path/folder/file you want to go.
 
W

Wesley Vogel

Try this...

Right click the Desktop | New | Shortcut |
Paste this in the location box:

%SystemRoot%\system32\cmd.exe

Click Next | Click Finish |

Right click the new cmd.exe shortcut | Properties |
In the Start in box replace %windir% with C:\ |
Click Apply | Click OK

Double click the new shortcut and you should see.............

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>

You can also change the Start in for the cmd shortcut located under
Accessories on the Start Menu.

Right click the cmd shortcut | Properties | Type: C:\ in the Start in
box

HOW TO: Set the Command Processor Appearance in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;309019

Set the Command prompt default path to a certain directory
http://windowsxp.mvps.org/autoruncmd.htm

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
G

Guest

If the question is how to point to a new folder from a command prompt (rather
than have the command prompt open in a new folder), you would switch to a new
drive by typing D: or E: (or whatever drive you wish to switch to) and
pressing enter. To switch to a new folder on your C: drive, simply type cd\
to go to the root of C and then type cd songs or whatever the path is. You
can navigate to a folder by doing this a step at a time or in one fell swoop
by typing the entire path after the CD command.

Wesley Vogel said:
Try this...

Right click the Desktop | New | Shortcut |
Paste this in the location box:

%SystemRoot%\system32\cmd.exe

Click Next | Click Finish |

Right click the new cmd.exe shortcut | Properties |
In the Start in box replace %windir% with C:\ |
Click Apply | Click OK

Double click the new shortcut and you should see.............

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>

You can also change the Start in for the cmd shortcut located under
Accessories on the Start Menu.

Right click the cmd shortcut | Properties | Type: C:\ in the Start in
box

HOW TO: Set the Command Processor Appearance in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;309019

Set the Command prompt default path to a certain directory
http://windowsxp.mvps.org/autoruncmd.htm

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
Craig said:
In a Command Prompt window, I see following line:

c:\Documents and Settings\Craig>

How can I change into D-driver (D:\) or change folder (e.g. C:\songs\)?

OS: WinXP Pro SP2.

TIA. Craig
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top