CODE: [Copy to clipboard]@echo off if exist a:\ (goto 有软盘) else (goto 无软盘) goto :eof :有软盘 echo 有软盘 goto :eof :无软盘 echo 无软盘 goto :eof