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?

  • 1
    It would help if you told us what operating system you are using. – Dour High Arch Aug 21 '16 at 16:26
  • @DourHighArch i think you can guess it'd be windows and I don't think it matters much which version – barlop Aug 21 '16 at 16:27
  • 2
    -1 look up batch rename files and seen what comes up and tried anything and then add what you tried into your question – barlop Aug 21 '16 at 16:29
  • 1
    You should look into the extension .br and .brx Just removing these extensions is likely not going to give you a video that you can watch. – LPChip Aug 21 '16 at 16:39
  • 2
    Please note that Super User is not a free script/code writing service. If you tell us what you have tried so far (include the scripts/code you are already using) and where you are stuck then we can try to help with specific problems. You should also read How do I ask a good question?. – DavidPostill Aug 21 '16 at 17:09

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  *.
|improve this answer|||||

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.

|improve this answer|||||

Not the answer you're looking for? Browse other questions tagged or ask your own question.