asdfghasdfgh 当前离线
列兵
评分人数
hanyeguxing (寒夜孤星)当前离线
荣誉版主
more +2<"%~f0">1.cmd exit @echo off for %%g 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 ( for /f %%i in ('fsutil fsinfo drivetype %%g:^|findstr "Removable.* 可移动"') do ( set DriveU=%%i ) ) echo.%DriveU% pause复制代码
TOP
>2.cmd echo for %%%%g 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 ( >>2.cmd echo for /f %%%%i in ('fsutil fsinfo drivetype %%%%g:^^|findstr "Removable.* 可移动"') do ( >>2.cmd echo set DriveU=%%%%i >>2.cmd echo ) >>2.cmd echo ) >>2.cmd echo echo.%%DriveU%%复制代码
>1.cmd echo ^^复制代码