Link to home
Start Free TrialLog in
Avatar of Mike
MikeFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Outlook Command Line Switch to Open in Specific Contacts Folder

I'd like a command line switch to launch Outlook 2016 in a particular Contacts folder. I use both a .pst and IMAP account within Outlook, and when I use

Outlook.exe /select outlook:contacts

Outlook opens in the contacts folder of the IMAP account. I'd like it instead to open in the contacts folder of the PST.

Thanks for any help.
ASKER CERTIFIED SOLUTION
Avatar of Hello There
Hello There

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Hello There
Hello There

Without command prompt:
On the File tab, click Options -> Advanced. Locate Outlook start and exit -> select the folder you want to appear when you start Microsoft Outlook.
Avatar of Mike

ASKER

Thanks, but this seems not to work. I have tried:
outlook.exe /select outlook:\xyz\Contacts
and
outlook.exe /select outlook:\xyz\Sent Items

and neither work, giving an error message "The command line argument is not valid. Verify the switch you are using".

I have the same problem if I use xyz.pst as the file name.
Avatar of Mike

ASKER

OK, sorted it. The text after /select needs to be in quotation marks. Thanks.
Try this:
outlook.exe /select "outlook:\xyz\Sent Items"
Too late. :D