Perpetual Newbie 1 Posted December 13, 2018 How can i perform recursive rename in Windows? I need to change all my .html files to .php Changing only extension and keeping original filenames. Share this post Link to post Share on other sites
C.M. 16 Posted December 13, 2018 Open command line (CMD) Run this command to change current directory to the target directory: cd E:\Dir_Where_You_Need_To_Rename_Your_Files\ Run this command to rename all your .html files to .php recursively: for /R %x in (*.html) do ren "%x" *.php Share this post Link to post Share on other sites