Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

  1. list all files with more than one dots in their names in the directory structure
  2. 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.

share|improve this question

marked as duplicate by Tog, Mokubai, Michael Kjörling, Dave M, Carl B Sep 26 '13 at 2:38

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
let me ask you something, do you care what the file names are? meaning if you had something like x.y.jpg would it be fine if you renamed it helloworld.jpg –  Sickest Sep 23 '13 at 17:24
    
The output filename has to be without the extra dots, and it cannot be renamed otherwise. –  Regmi Sep 23 '13 at 17:30
1  
@Sickest Thank you for that tool, it renames AND goes through subfolders. –  Regmi Sep 23 '13 at 18:21
    
im going to make it an answer in case anyone else stubble's on to this. –  Sickest Sep 23 '13 at 18:47

1 Answer 1

up vote 1 down vote accepted

Please check out this free handy renaming program: http://www.1-4a.com/rename/

enter image description here

It does batch renaming, it should do the trick.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.