> -----Original Message----- > From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf > Of Eoin Ross > Sent: 02 June 2008 17:15 > To: piclist@mit.edu > Subject: RE: [EE] Slashes and backslashes in URLs > > 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. Yes, I am very familiar with DOS path structures, but... The argument was that forward slashes get converted to back slashes, so they are equivalent. This is clearly not the case for the leading forward slash. i.e. cd "\dell" != cd "/dell" In fact AFAICT: cd "/dell" == cd "dell" i.e. a leading forward slash is simply ignored. 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