日期:2014-05-17 浏览次数:21596 次
@echo off
for %%a in (a b c d e f g h i j k l m n o p q r s t u v w x y z) do (
for /f "delims=
------其他解决方案--------------------@echo off
for /l %%a in (1,1,5) do ( for /f %%i in ('dir A\%%a\*.flv /b') do ( echo %cd%\A\%%a\%%i & copy %cd%\A\%%a\%%i %cd%\A\FLV\%%i ) )
pause
------其他解决方案--------------------
" %%i in ('dir /a /b /s %%a:\a\*.flv') do (
copy %%i %%a:\a\flv\
)
)
@echo off
set dn=a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z
for %%f in (%dn%) do (
if exist "%%f:\a\" (
for /f "tokens=*" %%b in ('dir /s/b %%f:\a\*.flv') do (copy /y "%%b" "%%f:\a\flv\")
)
)
pause