Batch script to execute all exe files Tue Oct 12, 2010 by author in scripts, loop, Windows, cmd Batch loop example to run every exe file in a folder with parameters (-z -m). Originally adapted for running a folder full of windows update exe files. for %%i in (*.exe) do call %%i -z -m Read more →