|
发表于 2017-7-29 23:44:50
|
显示全部楼层
发布 核心代码
dim objShell
dim CommandLine,UgPath
set objshell=createobject("wscript.shell")
UgPath=objShell.ExpandEnvironmentStrings("%UGII_BASE_DIR%")
UgPath=chr(34)&UgPath&"\UGII\ugraf.exe"&chr(34)
REM Wscript.echo UgPath
CommandLine="%comspec% /c set ugii_lang=english&set UGII_DISPLAY_DEBUG=1&set UGII_COUNTRY=prc&start "&chr(34)&chr(34)&chr(32)&UgPath&" -nx"
REM Wscript.echo CommandLine
objShell.run CommandLine,0,true
REM objShell.Run UgPath,,true
Set objShell=NoThing
WScript.quit
懒得编写exe
|
|