Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

REG_BINARY method

Status
Not open for further replies.

sfriday

IS-IT--Management
Feb 23, 2002
211
DE
All,

I have seen a previous thread but no answer for this query.

I am trying to do a RegWrite to write out a binary number 24 00 00 00 30 28 .. ... . .. .

However it Fails,

Copy of code below.

dim keyname, wsh, value
keyname = "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellState"
Value = "24 00 00 00 30 28 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 0D 00 00 00 00 00 00 00 0D 00 00 00"
Set wsh = Wscript.CreateObject("Wscript.Shell")
wsh.RegWrite keyname, value, "REG_BINARY"


Regards
Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top