Truncated path name - ignoring switches

Started by SteveSan, Sep 05, 2018, 01:07 PM

Previous topic - Next topic

SteveSan

Hoping someone can help.

I'm trying to get Briana open my Outlook calendar with a custom command: C:\Program Files\Microsoft Office\root\office16\Outlook.exe /select outlook:calendar
The problem I have is that Briana seems ignore anything after the file name i.e. Outlook.exe ignoring the switches and simply loading Outlook.

Any ideas?

saurav

You can use command prompt commands with "cmd:" prefix (without quotes).

Check this link for example: https://www.brainasoft.com/braina/community/index.php/topic,91.msg397.html#msg397

SteveSan

Thanks saurav

I finally managed to get it right using outlook as intended. I need to use Outlook and not the windows calendar.
For anyone interested, use:

To start Outlook without opening a second instance of Outlook if it is already open, use the /recycle switch
cmd:start outlook /recycle

To open the calendar
cmd:start outlook /recycle /select outlook:calendar

To create a sticky note
cmd:start outlook /recycle /c ipm.stickynote

To create a new email message
cmd:start outlook /recycle /c ipm.note

To create a new appointment
cmd:start outlook /recycle /c ipm.appointment

More Outlook switches can be found here:
https://www.howto-outlook.com/howto/commandlineswitches.htm