1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Win 2K an XP registry exports

Discussion in 'Windows XP' started by jheibeck, 2005/02/02.

Thread Status:
Not open for further replies.
  1. 2005/02/02
    jheibeck

    jheibeck Inactive Thread Starter

    Joined:
    2004/10/13
    Messages:
    44
    Likes Received:
    0
    This probably has something to do with programming, but can anyone explain briefly why when I export a key from the registry, it exports with 2 backslashes (\\) as separators. :confused:

    Example:
    SourcePath=c:\
    in the registry exports as

    SourcePath= "c:\\"
    in the .reg file

    Just curious

    Thanks
     
  2. 2005/02/03
    Newt

    Newt Inactive

    Joined:
    2002/01/07
    Messages:
    10,974
    Likes Received:
    2
    Hmmmm. I am curious too. Bumping this back to the top in hopes someone who has an answer will take a look.
     
    Newt,
    #2

  3. to hide this advert.

  4. 2005/02/03
    Zander

    Zander Geek Member Alumni

    Joined:
    2002/01/07
    Messages:
    4,084
    Likes Received:
    5
    I can't answer your question either other than to say that it's normal. I've never seen a system where it's not this way. Here's an entry from an exported reg file from mine.

    "Location "= "D:\\Program Files\\Common Files\\Adaptec Shared\\CreateCD "
     
  5. 2005/02/03
    JoeHobart

    JoeHobart Inactive Alumni

    Joined:
    2004/05/19
    Messages:
    919
    Likes Received:
    1
    Your guess of it being a programming thing is correct.

    The \ is used as a delimiter as seen in the link above

    Code:
    {
    printf( "This is a test\b of how to output a \\, and \ "format\" it\n, cool, eh\?\x21 ");
    return 0;
    }
    Code:
    This is a tes of how to output a \, and  "format" it
    , cool, eh?!
     
    Last edited: 2005/02/03
  6. 2005/02/03
    Zander

    Zander Geek Member Alumni

    Joined:
    2002/01/07
    Messages:
    4,084
    Likes Received:
    5
    Thanks Joe. Guess I should have known you'd be the one to ask about this. :)
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.