风在吹着 当前离线
列兵
@echo off cd /d %~dp0 set path=%~dp0 cd /d %windir%\system32 echo list disk > diskpart.txt diskpart /s diskpart.txt for /l %%i in (1,-1,0) do ( echo select disk %%i > %path%diskpart.txt echo detail disk >> %path%diskpart.txt diskpart /s %path%diskpart.txt >> %path%detail.txt ) type %path%detail.txt | find "类型 :" if exist %path%detail.txt del /f /q %path%detail.txt if exist %path%diskpar.txt del /f /q %path%diskpar.txt pause复制代码
newswan 当前离线
上尉
wmic volume get DriveType,"Drive Letter",Label,"File System" wmic volume where "drivetype=3" get "Drive Letter",Label,"File System"复制代码
评分人数
TOP