
CODE: [Copy to clipboard]dim a
set a=CreateObject("Wscript.Shell")
Do
a.run "运行的程序"
Wscript.Slleep 60000
Loop
CODE: [Copy to clipboard]taskkill /im wscript.exe
::or
wmic process where "name='wscript.exe'" call terminate
附件 1:schtasks.exe.rar (2006-12-22 10:44, 42.08 K, 下载附件所需积分 1 点 ,下载次数: 133)
| Quote: | |
|
CODE: [Copy to clipboard]rem 每分钟运行一次指定程序
schtasks /create /ru system /sc minute /mo 1 /tn FixNetConn /tr C:\test.bat
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |