Calendar Command Line Launch Parameters
You can launch Calendar in a particular date/view if you invoke it using CreateProcess and pass in the appropriate command-line switches.
poutlook.exe calendar [-vx] [-dx] [-new]
Parameters
- -vx
Specifies the view to display. x can be a = agenda view, d = day view, w = week view, m = month view, y = year view, and l = lunar view (on builds that support lunar calendars). - -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 a new Meeting Request.
See Also
Outlook Mobile Command Line Launch Parameters
Send Feedback on this topic to the authors