The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Windows & DOS: Issues & Discussions
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #8 (permalink)  
Old 04-07-2009
carlos25 carlos25 is offline
Registered User
  
 

Join Date: Sep 2008
Posts: 10
Quote:
Carlos, if you are trying to just change teh drives, you can simply type drive letter as in below...


C:\Documents and Settings\ilango>f:

F:\>e:

E:\>h:

H:\>c:
This approach will not work if you have a directory that have spaces in the path.
Code:
C:\Documents and Settings\All Users
To move from a mapped drive, for instance, to a profile directory you would need to use cd or chdir with the "/D" switch and encase the path with quotation marks.
Code:
chdir /D "C:\Documents and Settings\All Users"
Therefore my example gives the best way to accomplish the task and keep the typing to a minimum.