- @echo off
- for /l %%a in (1 1 20) do (
- for /f "delims=" %%i in ('dir/b/od %%a_*.flv') do (
- call,set "file=%%file%%%%i+"
- call,set "files=%%files%%%%i;"
- )
- call,copy/b %%file:~,-1%% %%a.flv
- call,del %%files%%
- set "file="&set "files="
- )
- pause
复制代码 如果你的FLV文件是从20-40,就把第二行()中的1 1 20改为20 1 40
如果是以字母命名的,把第二行改为:
for %%a in (a b c d e f g h i j k ...) do (
[ 本帖最后由 pusofalse 于 2008-8-22 05:32 编辑 ] |