How to rename multiple *file extensions* to *nil/no file extension* at once in Windows?

Squa64res@lemmy.ml to Asklemmy@lemmy.ml – 38 points –

In case of renaming multiple file extensions to another, they suggested to type this command in cmd promt or powershell: ren *.(current extension name) *.(new extension name)

But what about to renaming multiple file extensions to nil or no file extension? How to replace this command *.(new extension name) ?

36

You are viewing a single comment

I'm not a cmd prompt expert, but does

ren *.(current extension name) *

work?

To test it, make a new directory and create 2 files there with the same extension. Then, run that code in that directory and check the result.

not working

The cmd route should work. Done it many times doing like .mp4 to .m4b. You go I to cmd (command). Type the following: cd "FILE-PATH" (without quotations). Hit enter. Then type: ren *.file-type *.file-type Example would look like: ren *.jpg *.PNG This woukd be renamed the files all from jpg to png