联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!
@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