R
Rudy W.
In my database I export a query to a MS Excel file, then
that Excel file is compressed (with
WinZip/WinRar/7Zip/...) and finaly the compressed file is
attached in a mail and send to a mailbox.
Everything works, except this: when the Excel file is
about 1200 Kb or bigger, the compress program has not
finished at the moment the file is attached in the mail.
So I need to know when the compressing is finished before
the file is attached in the mail.
I could do this by:
1) checking if the size of the compressed file stops
growing.
Question, how do I get the file size?
2) checking if the compress program has finished its work.
Question: how can the output of a process (compress
application) started by a batchfile in the Shell command
be intercepted and checked?
Thanks
that Excel file is compressed (with
WinZip/WinRar/7Zip/...) and finaly the compressed file is
attached in a mail and send to a mailbox.
Everything works, except this: when the Excel file is
about 1200 Kb or bigger, the compress program has not
finished at the moment the file is attached in the mail.
So I need to know when the compressing is finished before
the file is attached in the mail.
I could do this by:
1) checking if the size of the compressed file stops
growing.
Question, how do I get the file size?
2) checking if the compress program has finished its work.
Question: how can the output of a process (compress
application) started by a batchfile in the Shell command
be intercepted and checked?
Thanks