Is there any way to read/modify the binary value of REG_SZ Registry Key using vbscript -
is there way read/modify binary value of reg_sz
registry key using vbscript?
i want change binary value of following reg_sz
registry key
hkcu\control panel\international\spositivesign
note: asking code modify binary value (right click on key , select modify binary value) , not normal value of reg_sz binary key. please take @ screenshot in below url:
[here dont want edit "select" text of adefaultselect registry key want remove 2 trailing zeroes of adefaultselect registry key]
consider code set registry key wallpaper solid color. here, (string) value set "0 0 0"
in following statement:
wshshell.regwrite "hkey_current_user\control panel\colors\background", "0 0 0","reg_sz"
nothing stops passing other valid string value regwrite
, in here:
wshshell.regwrite "hkey_current_user\control panel\colors\background", chr(1),"reg_sz"
if mean "binary data", that´s how it.
Comments
Post a Comment