I am trying to make a batch file to open Outlook and all of my archive files along with it. I am getting an error saying Outlook data files must be opened from within Outlook
. The code I have used is below:
@echo off
cd "C:\Program Files (x86)\Microsoft Office\Office14\OUTLOOK.EXE"
start OUTLOOK.EXE
cd "Z:\OUTLOOK ARCHIVES"
start "" "Z:\OUTLOOK ARCHIVES\Inbox 2010.pst"
Is it possible to open .pst
files using a batch file?
What you're doing is not possible. Outlook data files must be opened from within Outlook. Reference:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.