how to rename extensions from files in a whole directory

Bulk Rename Utility How-To's

how to rename extensions from files in a whole directory

Postby Jinane » Tue Mar 23, 2021 10:38 pm

Hello,
how to rename extensions from files in a whole directory & the files in the sub-directories?
for example, i did this thing for files with .enfp extension into.
(as this virus renamed the extension of files)
with this command from command prompt , but i didn't know how to do it for files within sub-folders:
rename *.enfp *.
Jinane
 
Posts: 1
Joined: Tue Mar 23, 2021 9:20 pm
Location: Philippines

Re: how to rename extensions from files in a whole directory

Postby Luuk » Wed Mar 24, 2021 1:56 am

Greeting Jinane. Sorry to hear about the virus, there is at least two ways...
Both do require putting a checkmark in "Subfolder" for the Filters(12)

1) Put a checkmark in "Renaming Options, File/Folder Extensions, Rename File Extensions".
Then with RegEx(1) to put a checkmark in "v2", and using \.enfp$ inside the "Match"

2) Use Extension(11)=Remove, this doesnt need the checkmark for "Rename File Extensions".
But since it can destroy all file extensions, just put *.enfp inside the Filters(12) "Mask".
Luuk
 
Posts: 690
Joined: Fri Feb 21, 2020 10:58 pm


Return to How-To