
CODE: [Copy to clipboard]再写个P名字为3.bat,放在D盘的 test目录里下如下:schtasks /create /sc hourly /mo 1 /tn checkdata /tr D:\test\3.bat /st 23:59:59
CODE: [Copy to clipboard]这样就能按照你的要每过一小时检查一下目录有无m.txt的文档if exist d:\test\m.txt (call load.bat) else (goto :eof)
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |