脚本
@echo off
:loop
tasklist | find "gbcollection.exe"
if errorlevel == 1 call "gbcollection.exe"
timeout /T 3
goto loop
后台运行
将以下代码放置在 @echo off
下面
if "%1"=="hide" goto CmdBegin
start mshta vbscript:createobject("wscript.shell").run("""%~0"" hide",0)(window.close)&&exit
:CmdBegin
后台运行如何删除?任务管理器,找到cmd.exe进程,kill掉