Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Calendar Command Line Launch Parameters

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

You can launch Calendar in a particular date/view if you invoke it using CreateProcess, and pass in the appropriate command-line switches. The following code example illustrates the generic form of the command.

poutlook.exe calendar [-vx] [-dx] [-new]

-vx

Specifies the view to display. x can be:

a

=

Agenda View

d

=

Day View

w

=

Week View

m

=

Month View

y

=

Year View

l

=

Lunar View

-dx

Specifies the date to view. x can be either a date, or an offset in days. The date format is yyyymmdd. For example, -d20050102 represents 01/02/2005. The offset format is [-]x, where x ranges from -999 to 999. For example, -d-3 represents three days ago, and -d5 represents five days from now.

-new

Opens an edit card for a new Appointment or Meeting Request.

Community Additions

Show:
© 2015 Microsoft