kentfung 当前离线
列兵
dir/b %~dpn1\*.ac3 >>temp.txt for /f "tokens=6" %%i in (temp.txt) do echo %%i >>temp1.txt for /f "delims=." %%j in (temp1.txt) do echo %%j >>test.txt复制代码
123ms 720P a ED ED_720P temp test Stream Information VTS_01_0 VTS_01_1 T80 2_0ch 384Kbps DELAY 0ms VTS_01_1 VTS_01_1 VTS_01_1 请按任意键继续. . .复制代码
TOP
CrLf 当前离线
论坛巡查
%1 @cmd /q /v /c %0 : for %%a in (*.*) do ( set fn=%%a for /f "delims=" %%b in ("!fn:-=\!") do echo %%~nb ) pause复制代码
set delay=%%str%%复制代码
hfg1977 当前离线
上尉
for /f "tokens=* delims=" %%a in ('dir /a-d/s/b *.ac3') do ( echo %%~nxa for %%i in (%%~na) do set str=%%~ni call set str=%%str:~,-2%% call echo.只要数字: %%str%% )复制代码