Hello All,
The following script works for Administrator and power users, but it gives  the 
following error when I run it as a regular user:

The system could not find the environment option that was entered at 
D:\recallit\bin\reg_test.pl line 4.

Needles to say I am a newbe.
Thanks for your help,

Cheers

Iso

####-- reg_test.pl--####
use strict;
use Win32::TieRegistry ( Delimiter=>"/", ArrayValues=>0 );
$Registry->Delimiter("/");                  # Set delimiter to "/".
my $swKey= $Registry->{"HKEY_LOCAL_MACHINE/SOFTWARE/"} || die $^E;

####--------------------####

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

Reply via email to