联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!
Originally posted by slore at 2007-3-18 01:27 PM: @echo off :loop if not exist h:\aaa.txt shutdown -s -f -t 0 goto loop
Originally posted by chengmo at 2007-3-19 18:35: @echo off :start if not exist l:\aaa.txt shutdown -s -f -t 0 @echo Wscript.Sleep Wscript.Arguments(0) * 1000>Delay.vbs Delay.vbs 5 del Delay.vbs goto start 这样可以吗? ...
@echo off echo Wscript.Sleep Wscript.Arguments(0) * 1000>Delay.vbs :start if not exist l:\aaa.txt shutdown -s -f -t 0 if exist Delay.vbs (Delay.vbs 5) else exit goto start