
CODE: [Copy to clipboard]@echo off
set AllDrive=c d e f g h i j k l m n o p q r s t u v w x y z
for %%a in (%AllDrive%) do (
for /f %%h in ('fsutil fsinfo drivetype %%a: ^| findstr /i "Drive"') do set LastDri=%%h
)
echo %LastDri%
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |