lqh3417 当前离线
二级士官
%echo off FOR /F "usebackq delims==" %%i IN (`dir /b/ad`) DO ( set dirname=%%i echo %dirname:~0,3% )复制代码
wc726842270 (枫中残雪)当前离线
大校
TOP
545810831 当前离线
@echo off setlocal enabledelayedexpansion for /f "delims=" %%i in ('dir /b /ad') do ( set dirname=%%i echo !dirname:~0,3! ) pause复制代码