
CODE: [Copy to clipboard]C盘中的menu.lst被删除,然后执行上面的批处理,结果还是不会跳转到step1去!!!@echo off
if not exist C:\menu.lst goto step1
grub.exe
root (hd0,0)
chainloader +1
boot
:step1
echo The "C:\menu.lst" is not exist!
echo The system is going to be shut.
shut.bat
goto quit
CODE: [Copy to clipboard]结果他怎么都不跳转if exist %a%\. goto b
CODE: [Copy to clipboard]dir %a%\. >nul 2>nul & goto b
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |