Batch Renamer that appends Index for Windows 2003
Posted on 2006-06-06
I need a batch file that fill rename this:
lonewolf 2006-06-04 23;00;01.zip
lonewolf 2006-06-05 23;00;01.zip
quickbooks 2006-06-04 23;30;01.zip
quickbooks 2006-06-05 23;30;01.zip
showingdesk 2006-05-09 00;00;01.zip
showingdesk 2006-05-10 00;00;01.zip
The way I thought of it:
- A for loop that goes through the list
- Grabs the first word of each filename as variable A, appends "-n", where in is increasing starting from 1
- It has to verify when variable A changes, in order to reset the counter back to 1
That's all :).
Again it has to be a batch file, and it has to run on Windows 2003.