I am using windows home xp,with an administrator account.
When using the command prompt I cant seem to change the directory using CD
to a drive other than the one windows is installed on:
Example:
This works:
Microsoft Windows XP 
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Owner>cd C:\

C:\>

While this doesn't:
Microsoft Windows XP 
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Owner>cd L:\

C:\Documents and Settings\Owner>


Is there anything I'm doing wrong? Or is this just normal behavior for the CD command?
Rags
Posted on 2007-12-30 07:50:36 by rags
It works the same on my system. You should be typing "L:" instead of "cd L:\"
Posted on 2007-12-30 07:58:05 by roticv
CD/CHDIR sets the per-drive current working directory, it doesn't change the current drive you're working with. This is somewhat counter-intuitive, but I guess it was inherited from DOS.

Check out the /D switch for the CHDIR command.
Posted on 2007-12-30 08:24:13 by f0dder
yeah just type DRIVELETTER:
Posted on 2007-12-30 09:00:28 by Homer
...or check out the /D switch to CD :) (faster than CD X:\PR0N\BIGONES followed by X:)
Posted on 2007-12-30 09:04:01 by f0dder

(faster than CD X:\PR0N\BIGONES followed by X:)

LOL :lol:
Thanks guys, got it. :thumbsup: I obviously don't work with the command prompt much at all. :)
Posted on 2007-12-30 10:33:32 by rags