How do I make a variable that "counts" and saves t
Posted: 09 Sep 2008 18:51
I want to have a counter in my batch file. I want it to count the number of times the program has run, or the number of times that the sub section of the batch file is executed.
Is it possible to have the program modify itself as it is run and then have the changes saved and made permanent?
I figured that I could do this with an external text file, but I would like to keep this as a single file.
Is it possible to have the program modify itself as it is run and then have the changes saved and made permanent?
I figured that I could do this with an external text file, but I would like to keep this as a single file.