MozillaZine

Wildcard for command line attachment path?

User Help for Mozilla Thunderbird
hariskar

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'"
and
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!

tanstaafl
Moderator

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

Post Posted January 9th, 2019, 2:02 am

http://kb.mozillazine.org/Command_line_ ... hunderbird
https://developer.mozilla.org/en-US/doc ... 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: Bing [Bot], Google [Bot] and 6 guests