pylbx 当前离线
列兵
@echo off for /f "skip=1" %%i in ('wmic logicaldisk where "drivetype=5" get name') do @echo %%i pause&exit复制代码
apang 当前离线
上将
@echo off for /f "delims=" %%i in ('wmic logicaldisk where "drivetype=5" get name^|find ":"') do set "LastDrv=%%i" echo,%LastDrv% pause&exit 复制代码
TOP