I am writing a batch file to automate and carry out a list of tasks. One part of my work is to add certain repetitive lines to a text file.
However each time the line must be accompanied by a number running from 0001 to 7000. (I need 0001 as 1 in itself would change the format and lead to other errors)
Any help with writing this simple loop program using bat file command would be greatly appreciated.
Thanks.