in reply to Re: REG_BINARY Registry Data
in thread REG_BINARY Registry Data
All I am trying to do is create a share on Win9x machines. I have attempted to do it with win32::netresource but it has a known bug that won't allow it to work on 9x machines. Only on NT/2000/XP. Apparently ActiveState is working on it, but until they fix it, editing the registry is the only way I can think to create a share. I have it working, at least all except inserting pre-existing binary data into the registry. }use Win32::TieRegistry; $Registry->Delimiter("/"); $Registry->{"LMachine/SOFTWARE/Microsoft/Windows/CurrentVersion/Networ +k/"}={ "LanMan/" => { "VIRUSSCAN\$/" => { "/Flags" => ["0x00000102","REG_DWORD"], "/Parm1enc" => ["","REG_BINARY"], "/Parm2enc" => [ pack("A","1f","b0","67","8c","79"),"REG_BINARY"], "/Type" => ["0x00000000","REG_DWORD"], "/Path" => "C:\\", "/Remark" => "Do Not Delete This Share"}, },
Edit by tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: REG_BINARY Registry Data
by AidanLee (Chaplain) on Jan 03, 2002 at 04:01 UTC | |
by tye (Sage) on Jan 03, 2002 at 04:30 UTC |