Hi,

        Being relativly new to Perl could someone please explain why the
following doesn't work on a win2k pro box the problem is that the registry
key is not being opened

$CompName=
$Registry->{"LMachine/System/CurrentControlSet/Control/ComputerName/Computer
Name/"};
$Name=$CompName->GetValue("ComputerName");

        when the following does

$CompName=
$Registry->{"CUser/Software/Microsoft/Windows/CurrentVersion/Internet
Settings/"};
$Name=$CompName->GetValue("ProxyEnable");

        Both work OK on Win9x so I presume there must be a permissions
problem on the win2k box. 

thanks in advance

Martin Wheldon

_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to