I’d like to keep a ‘compile-counter’ for one of my projects. I figured a quick and dirty way to do this would be to keep a text file with a plain number in it, and then simply call upon a small script to increment this each time I compile.
How would I go about doing this using the regular Windows command line?
I don’t really feel like installing some extra shell to do this but if you have any other super simple suggestions that would accomplish just this, they’re naturally appreciated as well.
You can try a plain old batchfile.
assuming the count.bat and counter.txt are located in the same directory.