Vb script rename

I have just purchased Directory Opus 9 and I would like to use the vbscript rename feature to rename some JPEG files. The name of the JPEGs from my camera is in the format:


What I would like to be able to do is the following:

  1. Sort the photos into shooting date/time sequence.

  2. Prefix the JPEG name with the shooting date (date will be in the format YYYY MM DD).

  3. Add a counter after the shooting date that starts at 0010 and increments by 0010.

The final name of the file should be (if the JPEG was created on the 15/05/2007):

2007 05 15 0010 DSC_0060.JPEG

Any help with this would be much appreciated.

Thank you for your help.


I don't think you need to use VBScript in this case. Wildcards or maybe RegExps are all that should be required.

Have a look at the similar example in this thread:

resource.dopus.com/viewtopic.php ... ootingtime