create email with 2 attachments

A

Al

Hi all, I need to create an email from a batch script with 2
attachments.

"C:\Program Files\Microsoft Office\OFFICE11\OUTLOOK.EXE" /c
ipm.note.testform /a "c:\file1.xls"

works perfectly, but only adds 1 attachment. how do I modify the above
command to include 2 attachments?

Thanks.

Al
 
R

Roady [MVP]

You can't. Either use a zip-command first to compress multiple files into a
single zip-file and attach that or use a script language which can use the
Outlook Object Model to programmatically create a new email and add the
attachments.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top