Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: How to escape space in registry path?

by anaconda_wly (Scribe)
on Nov 20, 2012 at 15:29 UTC ( #1004735=note: print w/replies, xml ) Need Help??


in reply to Re: How to escape space in registry path?
in thread How to escape space in registry path?

Thanks for your quick response. I double checked my code, I made mistake when paste code to the post, but not in my original code. I tried your keys, it works for me either. I tried many different keys, all works but all keys under "HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Updates", including several keys like:"HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Updates/UpdateExeVolatile", no space in it; "HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Updates/Windows Server 2003". I don't know why...I refreshed and didn't work. Apparently it's not related to the white space.
  • Comment on Re^2: How to escape space in registry path?

Replies are listed 'Best First'.
Re^3: How to escape space in registry path? (reason)
by tye (Sage) on Nov 20, 2012 at 15:34 UTC
    I don't know why

    If you want to know why, then reporting $^E upon failure is the best next step.

    - tye        

      The $^E says "The system could not find the environment option that was entered."

        A google search for the error message and the OS details returns some promising suggestions. Perhaps you should investigate if any of these resolve your issue.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1004735]
help
Chatterbox?
[shmem]: thanks vrk - but I'll rather have a plate of "silly con charme"
Lady_Aleena is trying to explain perl regexen to people right now and explaining how variables expand in regexen.
[Lady_Aleena]: The people I'm talking with think /$var/ looks weird with some saying it shouldn't work.

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2017-04-28 09:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (520 votes). Check out past polls.