Home > OS >  How do we rename a file with the last day of previous month in Windows batch files?
How do we rename a file with the last day of previous month in Windows batch files?

Time:12-20

I need to program a batch that renames an Excel file with the date of the last day of the previous month in DDMMYYY format. I have an example of code renaming using the current date.

ren example.xls example_           
  • Related