Oops, forgot there were a couple of variables defined elsewhere. They are:

$OS="Win9x" or "Windows NT"
$HKCU="HKEY_CURRENT_USER"
$user=@USERID

------------------
Regards,

Brad
Consultant
Net InfraStructure, Inc