Button that removes 5 characters from right


Using DO12, what's the best way this would work for both files and folders?

Thanks for any help on this.

One way, as a button/command, for Opus 12, using a regexp:

Rename IGNOREEXT REGEXP PATTERN "^(.*)(.{5})$" TO "\1"

Another way, using macros:

Rename PATTERN * TO * MACRO R0-5

Thank you very much, guys