Hi i want to set and audit ACL to a registry key with Win32::Perms
and I have this code:
-------
use Win32::Perms;
use Win32;
$regkey = new
Win32::Perms(
'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run',
PERM_TYPE_REGISTRY) || die "Error: ($^E)" ;
$regkey->AddAudit("Everyone", CHANGE, SUCCESS) || die "Error: ($^E)";
$regkey->Dump();
--------
But when run it I get:
"Error: (The network path was not found) at perms.pl line 8."
I have try others methods like "Add" and works ok.
The problem only appears with AddAudit.
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs