Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Aug 2004
    Location
    codegoboom@yahoo.com
    Posts
    999
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Relative root on CD

    file Protocol... 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?
    *this message will self destruct in n-seconds*

  • #2
    Regular Coder
    Join Date
    Aug 2004
    Location
    codegoboom@yahoo.com
    Posts
    999
    Thanks
    0
    Thanked 0 Times in 0 Posts
    And the answer is: '\' is relative to the CD drive, in that case...
    *this message will self destruct in n-seconds*

  • #3
    Regular Coder
    Join Date
    Mar 2005
    Location
    D0u$h!t3 k4?
    Posts
    512
    Thanks
    2
    Thanked 5 Times in 5 Posts
    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.

    Basically:
    "\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!

  • #4
    Regular Coder
    Join Date
    Aug 2004
    Location
    codegoboom@yahoo.com
    Posts
    999
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yeah, apparently, the '\' namespace is relative to the root directory--whatever that may be.
    *this message will self destruct in n-seconds*


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •