Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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


Comment on Re: Create MSWindows Registry REG_EXPAND_SZ entry
Download Code
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 perusing the Monastery: (7)
As of 2014-09-18 10:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (110 votes), past polls