Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Create MSWindows Registry REG_EXPAND_SZ entry

by Anonymous Monk
on Jul 03, 2003 at 11:19 UTC( #271126=note: print w/replies, xml ) Need Help??


in reply to Create MSWindows Registry REG_EXPAND_SZ entry

You can also let Win32::TieRegistry handle REG_EXPAND_SZ for you:

$reg_key->SetValue('FOO', '%PATH%', 'REG_EXPAND_SZ');

Useless if you want to use a .reg file, but you could give your script a -install option to set the registry values itself

Replies are listed 'Best First'.
Re: Create MSWindows Registry REG_EXPAND_SZ entry
by Intrepid (Deacon) on Jul 06, 2003 at 18:42 UTC

    Hey, thanks -- but why weren't you logged in so that I could give you some XP? ;-)

    I knew that there was a module-based way to handle this kind of Registry data, but I wasn't blessed with enough time at present to go find out which modules, where.

    This will be helpful for future improvements.

       Soren A.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://271126]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2016-08-30 05:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (411 votes). Check out past polls.