Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://271126]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2018-06-24 01:43 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.