Articles

Rename Middle of Filename

June 10, 2010 at 09:19:25
Specs: Windows Server 2003

I need to rename files in a directory like C:\importfiles using the creation date. The file format is SFS_052410_187638.csv The first 3 chacters will change the _ will always be the fourth character. The numbers at the end of the file name before the extension will also change with each file.

Using a scheduled task that launches a batch file (or a program or vb script) I need to rename the file to SFS_creationdate_187638.csv

Example: SFS_042310_187638.csv

Can anyone help me?


See More: Rename Middle of Filename

Report •


#1
June 10, 2010 at 09:54:18

Can you provide an example of what you want the out come file name to look like?

Report •
Related Solutions


Ask Question