-2

I have about 1852 video files and they all end with .br or .brx and I wanted to remove them from the file name.

What method could I use to accomplish what I asked above; to remove file extension from files with these extension characters in a batch solution to do all quickly rather than one by one?

Amk
  • 31

2 Answers2

3

I may be missing something, but this strikes me as a simple wildcard renaming command that doesn't require a script or batch file:

ren  *.br*  *.

Do that from within the directory where the files are. It replaces any filename having an extension that begins with br with the same filename but with no extension.

BTW, if there are other files with extensions starting with .br that you don't want to change, do this in two commands with explicit extensions:

ren  *.br  *.
ren  *.brx  *.
fixer1234
  • 28,064
1

If you are using any version of windows ( from windows xp till now), you can use a program called rename master. It's portable software and should be able to rename all the files at once.