This question already has an answer here:
I have some files inside a directory structure with multiple folders that have more than one dot. For example, "x.y.jpg" or "x.yz.01.jpg". How can I
- list all files with more than one dots in their names in the directory structure
- and delete the extra dots except the one before the extension?
Please note the extensions vary among one, two and three letters.
I was hoping I could do this with a windows script.