hellohello1
Technical User
I have Windows XP and Office 2003.
I created a batch file to open my Access database with the workgroup.
Here is my .bat file:
@echo off
"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" "\\nct3\Common\ManagementCenters\ProjectHealth\PADA\Test Databases\securityTest.mdb" /WRKGRP "\\nct3\Common\ManagementCenters\ProjectHealth\PADA\Test Databases\Security.mdw"
EXIT
Using my batch file works fine, but the DOS window stays open until Access closes.
I have tried changing the word EXIT to CLS at the end of the batch file above, but no luck. I tried renaming the file from .bat to .cmd, but still no luck.
How can I get the DOS window to go away after Access opens?
Thanks,
I created a batch file to open my Access database with the workgroup.
Here is my .bat file:
@echo off
"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" "\\nct3\Common\ManagementCenters\ProjectHealth\PADA\Test Databases\securityTest.mdb" /WRKGRP "\\nct3\Common\ManagementCenters\ProjectHealth\PADA\Test Databases\Security.mdw"
EXIT
Using my batch file works fine, but the DOS window stays open until Access closes.
I have tried changing the word EXIT to CLS at the end of the batch file above, but no luck. I tried renaming the file from .bat to .cmd, but still no luck.
How can I get the DOS window to go away after Access opens?
Thanks,