REG_EXPAND_SZ 类型字符处理有错误,例如:
@=hex(2):22,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,57,00,\
53,00,63,00,72,00,69,00,70,00,74,00,2e,00,65,00,78,00,65,00,22,00,20,00,2f,\
00,2f,00,49,00,20,00,20,00,22,00,25,00,31,00,22,00,20,00,25,00,2a,00,00,00
RegData本应为
"\"%%SystemRoot%%\System32\WScript.exe\" //I \"%%1\" %%*"
但脚本生成的RegData为
"%%SystemRoot%%\System32\WScript.exe\" //I \"%%1\" %%"
请问如何修正? |