Hello,

I have created a batch file that opens my database however I can not seem to get around the sandbox mode message that states "The file may not be safe if it....blah blah blah"

I have tried adding [vba]WshShell.Sendkeys "o" [/vba] to my .bat file in the hopes that simulating the key stroke "O" will allow me to "click" through the and open the database so my autoexec macros will run. I've even added a delay [vba]TIMEOUT 10[/vba] to the .bat file.

I've had no luck... been scouring the internet for hours trying to find a solution.

I would greatly appreciate any insight into this!

Cheers!!!