I’m trying to use the Open Application activity to open MS Access and give it a specified file name. I am able to get this to work if the path does not contain spaces. However, if the path does contain spaces, I am unable to get this to work. I have already searched the forum and found this topic, but it does not address the situation where the file name contains spaces.
For example, this works:
"C:\Program Files (x86)\Microsoft Office\root\Office16\MSACCESS.EXE"
But these do not work:
"MSACCESS.EXE C:\Users\Me\Folder with Spaces\database.accdb"
"MSACCESS.EXE 'C:\Users\Me\Folder with Spaces\database.accdb'"
"C:\Users\Me\Folder with Spaces\database.accdb"
MS Access will start with the error message:
The command line you used to start Microsoft Access contains an option that Microsoft Access doesn't recognize
Is there any documentation of how the Arguments field works? Any help would be appreciated!