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