CODE: [Copy to clipboard]for /f %%i in ('dir /b') do ( echo echo %%i>> update.bat echo %%i -z -m>> update.bat echo.>> update.bat)