
CODE: [Copy to clipboard]@echo off&&setlocal enabledelayedexpansion
for %%c in (c d e f g h i j k l m n o p q r s t u v w x y z) do (
set test%%c=0
if exist %%c: (
set test%%c=1
chkntfs %%c:|find /i "fat32" > nul && (
set test%%c=2) || chkntfs %%c: | find /i "ntfs" >nul && (
set test%%c=3)
echo %%c: 盘的类型 !test%%c!..
))
pause
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |