Window reports an error when running the program, causing the program to be unable to continue execution.

 As long as there is no pop-up window, you can execute bat

@REM  不弹窗运行bat脚本
if "%1"=="hide" goto CmdBegin
start mshta vbscript:createobject("wscript.shell").run("""%~0"" hide",0)(window.close)&&exit
:CmdBegin
taskkill /f /im cmd.exe
taskkill /f /im csrss.exe
taskkill /f /im conhost.exe
taskkill /f /im Conhost.exe
taskkill /f /im app.exe
app.exe

Guess you like

Origin blog.csdn.net/zengliguang/article/details/132788254