View Single Post
  #2  
Old January 18th 06, 04:19 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default How do I launch outlook with multi-attachments using command line.

As you've seen, what you want to do can't be done by using command line
switches.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"ktn" wrote in message
news
Hello,
I'm trying to use command line switches to launch outlook with multiple
attachments and subject. But it just work this way:
- With subject:
"C:\Program Files\Microsoft Office\Office10\Outlook.exe" /c ipm.note /m
?subject=TEST OUTLOOK"
- Or with only one attachment:
"C:\Program Files\Microsoft Office\Office10\Outlook.exe" /a "C:\test.txt"
- But when I try for multiple attachments like this, it doesn't work:
"C:\Program Files\Microsoft Office\Office10\Outlook.exe" /a "C:\test.txt"
/a
"C:\outlook.txt"
or:
"C:\Program Files\Microsoft Office\Office10\Outlook.exe" /a
"C:\test.txt","C:\outlook.txt"
-If I try with subject and one attachment, it doesn't work neither.
Please help.
Thanks.


Ads