Fix conflict between input filename and output template patterns

Author: ZTetriminosCreated Sep 24, 2026Updated Sep 24, 2026

I use the program at work to convert the files I receive in photo formats to pdf. The files are named accordingly to their current status in the line of work, with a single-letter code between brackets. 99 (O) my file.jpg is an original, untouched document. 99 (T) my file.docx is a translated copy of 99 (O) my file.jpg, 99 (R) my file.docx is a reviewed copy, and so on. The extension doesn't matter.

As File Converter uses patterns such as (o) to help the user define custom output paths and filenames, the program ends up changing all these codes upon file conversion, and I have to manually rename each one back.

Here's what happens: the input .jpg file had the (O) changed to PDF because the program reads (O) as "output the new file extension, in ALL CAPS".

Image

What should happen: the output file should have the exact same name as the input file + dot the extension 99 (O) my file.jpg > 99 (O) my file.pdf

It would be useful to have a way to tell the program that if, for instance, (O) appears in "original filename", then (O) must be taken literally, as text, not code.

I don't know what kind of approach or implementation would work within the way the program is coded, so it's up to the dev's best judgement.