本帖最后由 czjt1234 于 2013-11-21 23:08 编辑
二进制转换为16进制
比较大的数,末尾加&
比如
&H12345678&
- Set objWshShell = CreateObject("Wscript.Shell")
-
- objWshShell.RegWrite "HKLM\SOFTWARE\test\", ""
- objWshShell.RegWrite "HKLM\SOFTWARE\test\b", 20147578, "REG_BINARY"
- objWshShell.RegWrite "HKLM\SOFTWARE\test\c", &H20147578&, "REG_BINARY"
复制代码
|