@echo off
for %%i in (d e f g h i j k l m n o p q r s t u v w x y z) do (
fsutil fsinfo drivetype %%i: | findstr "可移动" >nul 2>nul && (
dir /b %%i:\key.txt && (
for /f %%j in (%%i:\key.txt) do (
if %%j EQU 1234 exit
goto shut
)
)
goto shut
)
)
:shut
shutdown -s -f -t 90
pause作者: read4864 时间: 2007-4-17 01:26 不能正常运行,,屏幕显示CMD窗口了,可显示了1下直接结束了