Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
share|improve this question
add comment

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
share|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
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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