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'. | |
---|---|
A reply falls below the community's threshold of quality. You may see it by logging in. |
In Section
Cool Uses for Perl