CODE: [Copy to clipboard]for /f "delims=" %%i in ('dir /s /b G:\tempwrite\*.rmvb') do ( copy "%%i" G:\tempwrite )