|
楼主 |
发表于 2014-7-10 21:56:32
|
显示全部楼层
//这个脚本用来自动化生成Qemu启动测试器,请拖动到pecmd.exe上运行
///////////////////////////////////////////////////////////
CMPS 1.txt script.wcz
writ %curdir%\command.txt,$+0,[FILENAMES]
writ %curdir%\command.txt,$+0,Exe=pecmd.exe
writ %curdir%\command.txt,$+0,SaveAs=new.exe
writ %curdir%\command.txt,$+0,[COMMANDS]
writ %curdir%\command.txt,$+0,-delete EXEDATA,,
writ %curdir%\command.txt,$+0,-delete INDATA,,
writ %curdir%\command.txt,$+0,-delete TAGDATA,,
writ %curdir%\command.txt,$+0,-delete RCDATA,,
writ %curdir%\command.txt,$+0,-delete ICONGROUP,,
writ %curdir%\command.txt,$+0,-delete DIALOG,,
writ %curdir%\command.txt,$+0,-delete MENU,,
writ %curdir%\command.txt,$+0,-delete STRINGTABLE,,
writ %curdir%\command.txt,$+0,-delete SCRIPTINIT,,
writ %curdir%\command.txt,$+0,-delete SCRIPT,,
ifex %curdir%\script.wcz,writ %curdir%\command.txt,$+0,-addoverwrite script.wcz,SCRIPT,101,2052
writ %curdir%\command.txt,$+0,-addoverwrite Adm.txt,24,1,2052
writ %curdir%\command.txt,$+0,-addoverwrite 48.ico,ICONGROUP,1,2052
exec --wait ResHacker -script command.txt
file %curdir%\ResHacker.ini
file %curdir%\ResHacker.log
file %curdir%\command.txt
file %curdir%\script.wcz
file %curdir%\new.exe>>%curdir%\text.exe
明白了,之前参考论坛启动测试器生成的,删除了pecmd的dialog和24后会出现这异常,感谢解答
|
|