A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How do I launch outlook with multi-attachments using command line.



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 17th 06, 11:19 PM posted to microsoft.public.outlook.program_vba
ktn
external usenet poster
 
Posts: 1
Default 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.

Ads
  #2  
Old January 18th 06, 05: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.


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The News command is not listed in the go catagory in Outlook 2003 Thomas Squicquero Outlook - General Queries 1 March 8th 06 06:58 PM
Outlook Shutdown - command line Pete Outlook - Installation 1 February 7th 06 09:28 PM
Outlook command-line switches Brad Nowlin Outlook - General Queries 1 January 27th 06 06:00 PM
Imap support in Outlook - Multi PC Synchronised email and contact solution. Dave Smithz Outlook - General Queries 6 January 27th 06 02:15 PM
Cannot Launch Outlook Ron Bernier Outlook - Installation 1 January 15th 06 05:07 AM


All times are GMT +1. The time now is 08:48 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-2025 Outlook Banter.
The comments are property of their posters.