I'm trying to produce a shortcut for user that will launch their outlook email or calendar. the switches I'm using are:

  • /select outlook:inbox (or /select outlook:calendar)
  • /recycle (so that there is only one outlook window open)

They both work independently, but when I try and use them together I get "The command line argument is not valid. Verify the switch you are using."

The full shortcut is

"C:\Program Files\Microsoft Office 2007\Office12\OUTLOOK.EXE"  /select "outlook:calendar" /recycle
link|improve this question
feedback

2 Answers

This was a known problem with Outlook 2003. Have you tried using the same workaround with Oulook 2007? In your case this would be:

"C:\Program Files\Microsoft Office 2007\Office12\OUTLOOK.EXE" /recycle outlook:calendar
link|improve this answer
this has exactly the same problem. Note this: blogs.msdn.com/rgregg/archive/2007/12/03/… – alumb Jun 2 '09 at 20:27
feedback

According to this page, the /recycle switch can be used with the /explorer and /folder switches. I believe that running without a switch is like using the /explorer switch. It must simply not be compatible with any other switches.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.