I'm really pulling my hair out on this one. I collect pictures of motorcycles, hot rod cars (especially Mustangs), and racing boats. I use bulk file renamer to place them in the following format:
KawasakiNinja300-001-001.jpg
KawasakiNinja300-001-002.jpg
KawasakiNinja300-001-003.jpg
KawasakiNinja300-002-001.jpg
KawasakiNinja300-002-002.jpg
KawasakiNinja300-002-003.jpg
KawasakiNinja300-161-150.jpg
Sometimes the second part of the file name will not contain 3 numbers but sometimes 2,1, or even 4. For example:
1990BlackMustangGT-01-01.jpg
LamborghiniCountach-1-01.jpg
And the list goes on with thousands of files in their respective directories.
The first part of the filename is the make and model of the vehicle. I use a hyphen as a separator to denote the numbered series that it belongs to and another hyphen to denote the individual picture within the series. So essentially the filename is broken down into three parts using a hyphen as a separator.
I'm looking for a batch file that will move each file into a directory named after the numbers after the first hyphen and before the second hyphen (the second part of the filename).
Thank you so much.
Jason