@echo off for %%i in (./gpu/*.glsl) do ( echo ---------------- echo Minifying %%i echo ---------------- shader_minifier-1.1.2 -o ./gpu/%%~ni.mglsl -v --format none --field-names xyzw ./gpu/%%i echo ---------------- @echo: )