:: Description: This script changes the style format of :: all the source code of the project. :: Setup the command line @echo off title Code Formatter :: Go to the directory where the script is run cd /d %~dp0 :: Style and format the source code recursively astyle --style=google --indent=spaces --align-pointer=type --remove-brackets --convert-tabs --close-templates --max-code-length=80 --max-instatement-indent=50 --lineend=windows --suffix=none --recursive ../../*.h ../../*.cpp ../../*.c :: Notify the user that we have finished echo. echo Code styling complete! echo. :: Let the user see the output pause