1rem Use Astyle to fix style in a file 2fixlines -p %1% 3astyle --style=ansi -c -o --convert-tabs --indent-preprocessor %1% 4del %1%.orig 5@rem convert line terminators to Unix style LFs 6fixlines -u %1% 7del %1%.bak 8