Jun 24th 2009

You never know what files you are going to get from customers.  After several phone calls talking through using FTP or shipping a hard drive, confirming compression usage, acceptable file formats there is still the possibility weird naming schemes.

This is example of a schema that came through last week.

c:\data\CustomerX\study01\re-d01_001_0_1.jpg
c:\data\CustomerX\study01\re-d01_001_0_2.jpg
c:\data\CustomerX\study01\re-d01_001_0_3.jpg
c:\data\CustomerX\study01\re-d01_001_0_4.jpg
c:\data\CustomerX\study01\re-d01_001_1_1.jpg
c:\data\CustomerX\study01\re-d01_001_1_2.jpg
c:\data\CustomerX\study01\re-d01_001_1_3.jpg
c:\data\CustomerX\study01\re-d01_001_1_4.jpg
c:\data\CustomerX\study01\re-d01_001_2_1.jpg
……..

I was about to whip out my favorite file renaming software, but I wanted to retain the original names for communication with the customer.  The solution is pretty easy so I thought I’d share it.  There might be a tool that does this already but its good to know how to do this on any machine without any special tool installed.  We’re going to fix this problem with CMD.exe. muahahaha!

Read the rest of this entry »

1 Comment »