View Full Version : Relative root on CD

04-09-2005, 09:05 PM
file Protocol (http://msdn.microsoft.com/workshop/networking/predefined/file.asp)... a single '\' is equivalent to specifying the root directory on the primary local drive. On most computers, this is C:\.

So would '\' lead to the primary local drive from content on a CD, or point to its drive letter?

04-10-2005, 12:32 AM
And the answer is: '\' is relative to the CD drive, in that case... :cool:

04-10-2005, 12:42 AM
Actually, a "\" in front of a path expression takes you to the root and navigates using the path in the same way that "/" in front of a path expression in HTML takes you to the root and navigates. It's an ABSOLUTE path. Without the "/", it is just a relative reference.

"\home\orange\foo.exe" means
- "D:\home\orange\foo.exe"

"home\orange\foo.exe" can mean
- "D:\blah\home\orange\foo.exe"
- "D:\home\orange\foo.exe"

Hope this helps people in the future!

04-10-2005, 12:55 AM
Yeah, apparently, the '\' namespace is relative to the root directory--whatever that may be. :)