联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!
CODE: [Copy to clipboard]@echo off rem test find /n "batch" %0>tttt.txt for /f "delims=]" %%a in (tttt.txt) do (set str=%%a) if not %str:~1%==8 goto test rem test rem test ECHO The batch file is OK! pause &exit :test echo Someone modify the file!!! pause