77七 当前离线
中校
@echo off for /f "skip=9 tokens=3" %%i in ('echo list volume ^| diskpart ') do ( call set str=%%i %%str%% ) pause>nul复制代码
TOP
@echo off for /f "delims=:" %%i in ('wmic logicaldisk get name ^| find ":"') do ( call set str=%%i %%str%% ) echo %str% pause复制代码