Wildcard for command line attachment path?

User Help for Mozilla Thunderbird

User avatar
Posts: 498
Joined: November 2nd, 2003, 4:03 am
Location: Kavala, Greece

Post Posted January 8th, 2019, 8:47 pm

Can I use a wildcard for command line attachment to specify filename?
I want the filename to be the current date, extension is pdf, eg 20190109.pdf

thunderbird.exe -compose "attachment=E:JSignPdf/????????.pdf'"
thunderbird.exe -compose "attachment=E:JSignPdf/*.pdf'"

do not work. Of course this is the expected behavior since we use ''
Is there any solution for that?
Thank you!


User avatar
Posts: 45585
Joined: July 30th, 2003, 5:06 pm

Post Posted January 9th, 2019, 2:02 am ... hunderbird ... ne_Options

I'm not aware of any wild card support in the command line arguments. It also doesn't appear to support using environmental variables. Perhaps you could use javascript to generate the filename (based on the date) in whatever batch or shell file you are using to launch Thundebrird.

Return to Thunderbird Support

Who is online

Users browsing this forum: No registered users and 2 guests