以程序“test.exe”为例,目录位于“D:\test\test.exe”
一. 终止程序 stop.bat
@echo off
ntsd -c q -pn test.exe
二. 监控程序是否运行,如果未运行,启动该程序 monitor.bat
tasklist /nh|find /i "test.exe"
if ERRORLEVEL 1 (sta
以程序“test.exe”为例,目录位于“D:\test\test.exe”
一. 终止程序 stop.bat
@echo off
ntsd -c q -pn test.exe
二. 监控程序是否运行,如果未运行,启动该程序 monitor.bat
tasklist /nh|find /i "test.exe"
if ERRORLEVEL 1 (sta