文件扩展名是一次显示的问题
扩展名存在2段,001-999,然后是1000-9999
如何依次显示出来,这个只有分成2段写吗?- @echo off
- for /f "delims=" %%a in ('dir /s/b/a-d "*.0*";*.1???') do echo %%a
- pause
复制代码 我这个代码4位数字会被插入3位数字,请教如何修改?
D:\ceshi\good\good.flac.1560
D:\ceshi\good\good.flac.1561
D:\ceshi\good\good.flac.1562
D:\ceshi\good\good.flac.1563
D:\ceshi\good\good.flac.1564
D:\ceshi\good\good.flac.1565
D:\ceshi\good\good.flac.1566
D:\ceshi\good\good.flac.1567
D:\ceshi\good\good.flac.1568
D:\ceshi\good\good.flac.1569
D:\ceshi\good\good.flac.157
D:\ceshi\good\good.flac.1570
D:\ceshi\good\good.flac.1571
D:\ceshi\good\good.flac.1572
D:\ceshi\good\good.flac.1573 |