Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking for a command-line style way of opening a new note in Outlook 2007.

It'll be executed from a .bat script.

Basically, is there some switch on outlook.exe or similar that I can use to get a new note?

share|improve this question
up vote 2 down vote accepted

From the Office command line switch reference:

/c messageclass

Creates a new item of the specified message class (Outlook forms or any other valid MAPI form).

Examples:

  • /c ipm.activity creates a Journal entry
  • /c ipm.appointment creates an appointment
  • /c ipm.contact creates a contact
  • /c ipm.note creates an e-mail message
  • /c ipm.stickynote creates a note
  • /c ipm.task creates a task

So this should do the trick

\Path\to\outlook.exe /c ipm.stickynote
share|improve this answer
    
perfect! thanks – Matt Potts Feb 17 '10 at 11:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .