@echo off IF "%1"=="" GOTO INFO .\astyle_1.23_windows\astyle\bin\AStyle.exe --options=..\astylerc %1 GOTO END :INFO @echo ========================================================================== @echo Pass the filename as the first parameter: "run_astyler.bat [filename]" @echo ========================================================================== :END pause