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) ?
tleb ( @tleb@lemmy.ca ) 8•2 years agoMicrosoft power toys has a utility for mass file renaming.
captsneeze ( @captsneeze@lemmy.one ) 2•2 years agoI’m curious, for what reason would one need/want to do this?
driving_crooner ( @driving_crooner@lemmy.eco.br ) 2•2 years agoI have no idea what im talking about, but why not try in a folder with a couple of files writing nothing after the *. ?
there are more than 300 files in multiple folders that I need to remove the file.extension, doing it 300 times is a tad difficult.
- intensely_human ( @intensely_human@lemm.ee ) 2•2 years ago
The purpose of trying it in a folder with a few options is to perfect the command before applying it to the entire target pool.
hddsx ( @hddsx@lemmy.ca ) English2•2 years agoYou might have to do a bit of testing as windows may add weird characters, but you could try WSL and use a bash
Brotherly ( @Brotherly@lemm.ee ) 2•2 years agoI’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
Tolookah ( @Tolookah@discuss.tchncs.de ) 2•2 years agoOkay, what’s it say?
- intensely_human ( @intensely_human@lemm.ee ) 2•2 years ago
It’s all wrong!
dudemanbro ( @dudemanbro@lemmy.dbzer0.com ) English1•2 years agoThe 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
Tutunkommon ( @Tutunkommon@beehaw.org ) 1•2 years agoTry:
ren *.* *.