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

13 points

If you’re open to using a GUI, check out Microsoft PowerToys, specifically PowerRename.

permalink
report
reply
3 points

thank you!

permalink
report
parent
reply
2 points

I’m curious, for what reason would one need/want to do this?

permalink
report
reply
1 point
Deleted by creator
permalink
report
parent
reply
1 point

Sure, but I don’t imagine that would be the file extension, it would just be in the filename (the part before the extension).

permalink
report
parent
reply
2 points

I have no idea what im talking about, but why not try in a folder with a couple of files writing nothing after the *. ?

permalink
report
reply
2 points

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.

permalink
report
parent
reply
2 points

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.

permalink
report
reply
1 point

not working

permalink
report
parent
reply
2 points

Okay, what’s it say?

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply

Asklemmy

!asklemmy@lemmy.ml

Create post

A loosely moderated place to ask open-ended questions

Search asklemmy 🔍

If your post meets the following criteria, it’s welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

Icon by @Double_A@discuss.tchncs.de

Community stats

  • 35

    Monthly active users

  • 2.3K

    Posts

  • 29K

    Comments