
CODE: [Copy to clipboard][ Last edited by tireless on 2008-10-15 at 13:55 ]@echo off
copy "c:\test\A\*.jpg" "c:\test\B"
for /f "delims=" %%a in ('dir /s /a:d /b "c:\test\A"') do copy "%%a\*.jpg" "c:\test\B" >nul
dir /s /a:-d /b "c:\test\A\*.jpg" >> jpgfiles.txt
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |