@echo off echo formatting sources for /r "src" %%f in (*.cpp *.h *.cs) do ( echo Formatting: %%f clang-format -i "%%f" ) echo done pause