The reason that it didn't work is that it was looking in "C:/Windows/" for a folder named "Dell" Given that - you're in C:\Windows\ and C:\Dell\ exists You'd need to type: CD ../Dell or CD \Dell If in : C:\windows\temp\ you'd need to type cd ../../dell or cd \dell ".." refers to the parent directory of the one you are in. "\" by itself with CD refers to the root of the current drive. Win98 COMMAND.COM works the same way - except it won't handle the forward slash. ("/") and you'll have to use backslash "\" I believe this is the same as DOS 6.22. >>> Michael.Rigby-Jones@bookham.com 02 Jun 08 11:37:06 >>> > -----Original Message----- > From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf > Of Gerhard Fiedler > Sent: 30 May 2008 17:38 > To: piclist@mit.edu > Subject: Re: [EE] Slashes and backslashes in URLs > > Robert Ammerman wrote: > > > In XP Pro: > > FWIW, that's probably "In cmd.exe in XP Pro". While cmd.exe is the > default > shell, there are a few others (not that different from Linux :) > > > dir "c:/temp" -- works > > cd "c:/temp" -- does not work > > In my cmd.exe (v5.1.2600), I get these results: > > dir c:/temp - doesn't work > dir "c:/temp" - works > cd c:/temp - works > cd "c:/temp" - works > > I assume that's because dir has switches (separated with '/'), while cd > doesn't have any. When invoked without the quotes, "/temp" is seen as an > invalid switch ("Parameter format not correct"). > > Gerhard Not the cd command only works if you start above your target directory (root in this case). I get the following which appears to show that a leading forward slash on a path is ignored, i.e. you can't start from root using this method. C:\>cd "/dell" C:\dell> This appears to work ok, but if I move into a different directory it breaks: C:\>cd windows C:\WINDOWS>cd "/dell" The system cannot find the path specified. Regards Mike ======================================================================= This e-mail is intended for the person it is addressed to only. The information contained in it may be confidential and/or protected by law. If you are not the intended recipient of this message, you must not make any use of this information, or copy or show it to any person. Please contact us immediately to tell us that you have received this e-mail, and return the original to us. Any use, forwarding, printing or copying of this message is strictly prohibited. No part of this message can be considered a request for goods or services. ======================================================================= -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist