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

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) ?

  • Brotherly@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    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.