Batch File to rename file for pervious month
Posted on 2014-10-24
Hello Experts Exchange
I have a folder that has 12 files, 1 file for every month in the year.
The file names are as follows;
Currently the Lost Time.xls file holds this months data in it.
At the start of next month I want a batch file to rename Lost Time.xls to Lost Time_10.xls, and to rename Lost Time_11.xls to Lost Time.xls.
I want the batch file to be dynamic so it can do the renaming of the files for every month of the year.
Is this possible?