Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 pondering the Monastery: (5)
As of 2015-07-03 23:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls