![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I'm using this command-line switch to attach a file to an email:
"C:\Program Files\Microsoft Office\Office11\OUTLOOK.EXE" /c ipm.note /a It works perfectly if I specify just one file. Can it be modified to attach multiple files to a new message? Thanks |
Ads |
#2
|
|||
|
|||
![]()
No, but you can compress the multiple items first to a single zip-file and
attach that instead. Depending on what you are trying to achieve, you can use the Outlook Object Model to attach multiple files as well. An example of using the OOM to include multiple attachments can be found here; http://www.howto-outlook.com/howto/mailpdfplus.htm -- Robert Sparnaaij [MVP-Outlook] Coauthor, Configuring Microsoft Outlook 2003 http://www.howto-outlook.com/ Outlook FAQ, HowTo, Downloads, Add-Ins and more http://www.msoutlook.info/ Real World Questions, Real World Answers ----- "Jack B. Pollack" wrote in message ... I'm using this command-line switch to attach a file to an email: "C:\Program Files\Microsoft Office\Office11\OUTLOOK.EXE" /c ipm.note /a It works perfectly if I specify just one file. Can it be modified to attach multiple files to a new message? Thanks |
#3
|
|||
|
|||
![]()
Thanks for your post.
I actually replaced the "send to" item with this command string to get rid of the extraneous text etc. that the default one includes. The problem is that I cant highlight multiple items and attach them. I am interested in looking at the OOM sample but my AV software is flagging that page as infected with VBS:SelfMailer-gen2 [Wrm]. Can anyone confirm that the page is safe to view. "Roady [MVP]" t wrote in message ... No, but you can compress the multiple items first to a single zip-file and attach that instead. Depending on what you are trying to achieve, you can use the Outlook Object Model to attach multiple files as well. An example of using the OOM to include multiple attachments can be found here; http://www.howto-outlook.com/howto/mailpdfplus.htm -- Robert Sparnaaij [MVP-Outlook] Coauthor, Configuring Microsoft Outlook 2003 http://www.howto-outlook.com/ Outlook FAQ, HowTo, Downloads, Add-Ins and more http://www.msoutlook.info/ Real World Questions, Real World Answers ----- "Jack B. Pollack" wrote in message ... I'm using this command-line switch to attach a file to an email: "C:\Program Files\Microsoft Office\Office11\OUTLOOK.EXE" /c ipm.note /a It works perfectly if I specify just one file. Can it be modified to attach multiple files to a new message? Thanks |
#4
|
|||
|
|||
![]()
That switch is limited to 1 attachment.
-- Diane Poremsky [MVP - Outlook] Need Help with Common Tasks? http://www.outlook-tips.net/beginner/ Outlook 2007: http://www.slipstick.com/outlook/ol2007/ Outlook Tips by email: Exchange Messaging Outlook newsletter: Outlook Tips: http://www.outlook-tips.net/ Outlook & Exchange Solutions Center: http://www.slipstick.com You can access this newsgroup by visiting http://www.microsoft.com/office/comm...s/default.mspx or point your newsreader to msnews.microsoft.com. "Jack B. Pollack" wrote in message ... I'm using this command-line switch to attach a file to an email: "C:\Program Files\Microsoft Office\Office11\OUTLOOK.EXE" /c ipm.note /a It works perfectly if I specify just one file. Can it be modified to attach multiple files to a new message? Thanks |
#5
|
|||
|
|||
![]()
I can assure you that the page is safe to view.
What is reporting it as infected? Are you using Avast? -- Robert Sparnaaij [MVP-Outlook] Coauthor, Configuring Microsoft Outlook 2003 http://www.howto-outlook.com/ Outlook FAQ, HowTo, Downloads, Add-Ins and more http://www.msoutlook.info/ Real World Questions, Real World Answers ----- "Jack B. Pollack" wrote in message ... Thanks for your post. I actually replaced the "send to" item with this command string to get rid of the extraneous text etc. that the default one includes. The problem is that I cant highlight multiple items and attach them. I am interested in looking at the OOM sample but my AV software is flagging that page as infected with VBS:SelfMailer-gen2 [Wrm]. Can anyone confirm that the page is safe to view. "Roady [MVP]" t wrote in message ... No, but you can compress the multiple items first to a single zip-file and attach that instead. Depending on what you are trying to achieve, you can use the Outlook Object Model to attach multiple files as well. An example of using the OOM to include multiple attachments can be found here; http://www.howto-outlook.com/howto/mailpdfplus.htm -- Robert Sparnaaij [MVP-Outlook] Coauthor, Configuring Microsoft Outlook 2003 http://www.howto-outlook.com/ Outlook FAQ, HowTo, Downloads, Add-Ins and more http://www.msoutlook.info/ Real World Questions, Real World Answers ----- "Jack B. Pollack" wrote in message ... I'm using this command-line switch to attach a file to an email: "C:\Program Files\Microsoft Office\Office11\OUTLOOK.EXE" /c ipm.note /a It works perfectly if I specify just one file. Can it be modified to attach multiple files to a new message? Thanks |
#6
|
|||
|
|||
![]()
yep, Avast
"Roady [MVP]" t wrote in message ... I can assure you that the page is safe to view. What is reporting it as infected? Are you using Avast? -- Robert Sparnaaij [MVP-Outlook] Coauthor, Configuring Microsoft Outlook 2003 http://www.howto-outlook.com/ Outlook FAQ, HowTo, Downloads, Add-Ins and more http://www.msoutlook.info/ Real World Questions, Real World Answers ----- "Jack B. Pollack" wrote in message ... Thanks for your post. I actually replaced the "send to" item with this command string to get rid of the extraneous text etc. that the default one includes. The problem is that I cant highlight multiple items and attach them. I am interested in looking at the OOM sample but my AV software is flagging that page as infected with VBS:SelfMailer-gen2 [Wrm]. Can anyone confirm that the page is safe to view. "Roady [MVP]" t wrote in message ... No, but you can compress the multiple items first to a single zip-file and attach that instead. Depending on what you are trying to achieve, you can use the Outlook Object Model to attach multiple files as well. An example of using the OOM to include multiple attachments can be found here; http://www.howto-outlook.com/howto/mailpdfplus.htm -- Robert Sparnaaij [MVP-Outlook] Coauthor, Configuring Microsoft Outlook 2003 http://www.howto-outlook.com/ Outlook FAQ, HowTo, Downloads, Add-Ins and more http://www.msoutlook.info/ Real World Questions, Real World Answers ----- "Jack B. Pollack" wrote in message ... I'm using this command-line switch to attach a file to an email: "C:\Program Files\Microsoft Office\Office11\OUTLOOK.EXE" /c ipm.note /a It works perfectly if I specify just one file. Can it be modified to attach multiple files to a new message? Thanks |
#7
|
|||
|
|||
![]()
This looks like it might work. Does anyone have a pre-written VBS or WSH
script to take a string and create a blank message with the passed attachments (ie "send to" vbs script would create a blank message with the specified attachments). "Roady [MVP]" t wrote in message ... No, but you can compress the multiple items first to a single zip-file and attach that instead. Depending on what you are trying to achieve, you can use the Outlook Object Model to attach multiple files as well. An example of using the OOM to include multiple attachments can be found here; http://www.howto-outlook.com/howto/mailpdfplus.htm -- Robert Sparnaaij [MVP-Outlook] Coauthor, Configuring Microsoft Outlook 2003 http://www.howto-outlook.com/ Outlook FAQ, HowTo, Downloads, Add-Ins and more http://www.msoutlook.info/ Real World Questions, Real World Answers ----- "Jack B. Pollack" wrote in message ... I'm using this command-line switch to attach a file to an email: "C:\Program Files\Microsoft Office\Office11\OUTLOOK.EXE" /c ipm.note /a It works perfectly if I specify just one file. Can it be modified to attach multiple files to a new message? Thanks |
#8
|
|||
|
|||
![]()
If anyone is interested I wrote this VB script to replace the built in "Send
To Mail Recipient" item. It doesn't insert all the BS text the default one does. Save the script as "Mail Recipient.vbs" in you MS office folder. Delete the "Mail recipient" item in your "%homepath%/sendto" folder Create a shortcut to the new Mail Recipient script in the sendto folder Change the icon to the new shortcut to "%SystemRoot%\system32\sendmail.dll" On Error Resume Next Set App = GetObject(, "Outlook.Application") If Err 0 Then Set App = CreateObject("Outlook.Application") Set AppItem = App.CreateItem(0) If WScript.Arguments.Count 0 then For FileName = 0 to (WScript.Arguments.Count - 1) AppItem.Attachments.Add WScript.Arguments(FileName) Next AppItem.Display End If Set App = Nothing Set AppItem = Nothing Hope this helps someone "Jack B. Pollack" wrote in message ... I'm using this command-line switch to attach a file to an email: "C:\Program Files\Microsoft Office\Office11\OUTLOOK.EXE" /c ipm.note /a It works perfectly if I specify just one file. Can it be modified to attach multiple files to a new message? Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2003 Command line switch | carina | Outlook - Installation | 4 | July 3rd 08 06:57 PM |
command line switch /f | CLPO | Outlook - Using Forms | 0 | May 13th 08 11:49 AM |
outlook switch to attach multiple items | devi[_2_] | Outlook - Using Forms | 0 | October 11th 07 09:55 PM |
Outlook 2007 command line switch | [email protected] | Outlook - General Queries | 2 | March 7th 07 09:57 PM |
attach many files outlook command | Patrick | Outlook and VBA | 0 | May 17th 06 11:35 PM |