Hi Guys,
I'm looking to copy a the values of a key from a Win2k or XP registry:
HKEY_LOCAL_MACHINE\Software\gpass\new gpass\consulting room extensions
to
HKEY_CURRENT_USER\Software\gpass\new gpass\consulting room extensions
I've tried using the following code with
use Win32::TieRegistry;
$Registry->{"LMachine/Software/gpass/new gpass/consulting room
extensions/"} = $Registry->{"CUser/Software/gpass/new gpass/consulting
room extensions/"};
but I get the error:
No such root key (CUser/Software/gpass/new gpass/consulting room
extensions) at C:\consult.pl line 7
When I export the reg key I get the following output:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Software\gpass\new gpass\consulting room extensions]
"SCI"="GpassCre.WebCre"
"PCTI1"="DME7_GpassAx.ctlGpassTab"
"CALM Reminder"="CALMRemind.CALMReminder"
"LabelTrace"="qTrace.qtLabelForm"
Could someone please let me know where I'm going wrong.
Thanks in advance,
Ewen
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs