Title: Message

Hi all--

I am writing a script that uses tiereg to add values. I want to be able to add reg_dword values as a decimal and not as hex.

This causes the reg to report invalid value:

$InstallTime = $key->SetValue("ScheduledInstallTime", "00000000", REG_DWORD);

This works but only as hex:

$InstallTime = $key->SetValue("ScheduledInstallTime", pack("L",0), REG_DWORD);

Anyone know how I would write a dword value as a decimal or as 00000000?

Thanks in advance.

 

Matthew Allen

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

Reply via email to