Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   How do I launch outlook with multi-attachments using command line. (http://www.outlookbanter.com/outlook-vba/7263-how-do-i-launch-outlook.html)

ktn January 17th 06 10:19 PM

How do I launch outlook with multi-attachments using command line.
 
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.


Ken Slovak - [MVP - Outlook] January 18th 06 04:19 PM

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
...
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.




All times are GMT +1. The time now is 08:22 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com