Re: Can Blat be used when name of the attached file is unknown?

"'Chip' [email protected] [blat]" <[email protected]> Sat, 3 Jun 2017 20:46:11 -0600
Newsgroups gmane.mail.blat
Message-ID <207C8574B962438B93775CAACD307309@chip>
> We have a POS Program that creates .txt Files with sales results at the 
> End of Day Routine. These Files have names like Print2070602.txt.
>
> I would like to see if we can send Emails with Blat by pointing to the 
> directory, f.i. C:\POS\PrintFIles\ with some kind of a Wildcard (*.txt). 
> Looks like this is not supported. Any idea how to succeed?
>
> The command line blat C:\POS\Printfiles\*.txt results in 'unknown error 
> code 123 when trying to open C:\POS\PrintFiles\*.txt


You can send attachments with a wildcard, but when sending as a message 
body.  The problem for me would be how to send multiple files as the message 
body when there exists more than one file which matches the wildcard string.

This line is a start to get your print files sent.  You still need the -to 
and -subject entries as a minimum.

Blat - -body "Here are today's print files." -attach C:\POS\Printfiles\*.txt

-- 
Chip