netdzb 当前离线
上尉
@echo off setlocal enabledelayedexpansion set n=3 set m=32 for %%a in (*.ts) do ( set /a n+=1 set /a m+=1 echo "%%a!n~-3!" "%%a!m~-3!" ) pause复制代码
zaqmlp 当前离线
@echo off set info=互助互利,支付宝扫码头像,感谢赞助 rem 有问题,可加QQ956535081及时沟通 title %info% cd /d "%~dp0" setlocal enabledelayedexpansion set n=0000000000000000000000000000000 set m=0 for /f "delims=" %%a in ('dir /a-d/b *.ts') do ( set t=%n%!m! echo;%%a !t:~-31! set /a m+=1 ) echo;%info% pause复制代码
TOP
ivor 当前离线
上校
@echo off&setlocal enabledelayedexpansion for %%a in (*.ts) do ( set file=%%~na set file=0000000000000000000000000000000!file:x=! echo "%%a" "!file:~-31!" ) pause复制代码
523066680 (消遣区)当前离线
版主
amwfjhh 当前离线
六级士官