Saturday, October 5, 2019

windows 7 - Is there a way to batch rename files involving rearraging the filename based on capitalization

I want to rename a large amount of files in the format:



Firstname LASTNAME ABC to yyyymmdd.pdf




where ABC is a random acronym, and yyyymmdd is the date, to:



LASTNAME Firstname ABC to yyyymmdd.pdf



It's on a computer that can't have third party software on it, so lovely tools such as the Bulk Rename Utility are out of the question. I'm thinking making a batch file to do so, but don't really know where to begin. I've found a bunch of other questions on here and other sites detailing simply how to change case, but I don't want that. The closest I've come is knowing I'll have to use FINDSTR, but I don't have enough experience with command line scripting to proceed any further.

No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...