次のスクリプトを持つファイル invisible.vbs があります
Set WshShell = WScript.CreateObject("WScript.Shell")
obj = WshShell.Run("e:\abc.bat", 0)
set WshShell = Nothing
abc.bat
次のスクリプトがあります
:loop
EVENTCREATE /T ERROR /L APPLICATION /ID 100 /D "This is test message."
ping localhost -n 21 > nul
goto loop
手動で停止したいのですabc.bat
が、質問はどのようにですか?