Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How can I mass rename files from the command line or using a 3rd party tool?

So I have a series of files with the following format Their real file name followed by the date.


I am trying to figure out How I can Increment the day by one day. For instance, this would be my desired result.

share|improve this question

marked as duplicate by Ƭᴇcʜιᴇ007, wizlog, Tom Wijsman, studiohack Feb 14 '12 at 4:31

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Does it have to be from the command-line? – Synetech Feb 12 '12 at 6:51
up vote 1 down vote accepted

For this specific example case ren *12DEC*.* ???????13*.* from a command prompt should work.

share|improve this answer
That was just an example; they would have to edit and repeat the command for each and every day (which would quickly become problematic without some sort of recursion-preventing attention). – Synetech Feb 12 '12 at 6:49

Bulk Rename Utility is a great tool for this. Offers a choice of regexes, fixed index changes (that is what you should go for probably) and a host of other options.

share|improve this answer

If it does not have to be a command-line tool, then my advanced file-renaming program of choice is Cylog’s Wildren. In your case, you would combine the regular-expression function with the counter function. It can also simulate the rename operations so that you can check if your parameters are correct before doing it for real.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .