Partager via


Calendar Command Line Launch Parameters (Windows Embedded CE 6.0)

1/6/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]

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

    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.

See Also

Other Resources

Outlook Mobile Command Line Launch Parameters