Find and replace all files of a certain extension?

Discussion in 'General Chat' started by Klikkit, Jun 20, 2013.

  1. #1
    Pretty sure this is an appropriate place to post, and it's only a quick problem.

    Basically, I need to rename all html files within a directory to index.html

    I have around 1000 sub folders within the main folder, each sub folder shares it's name with it's contents, eg: '123' contains '123.html', '123.xml' etc, I want to search for all .html files in all of the 1000 sub folders at once, and change them all to index.html

    How would I go about this on Windows?
     
    Klikkit, Jun 20, 2013 IP