Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.bat file command line

Status
Not open for further replies.

Alockhart

Programmer
Sep 12, 2002
16
CA
I have created a .bat file sometime ago to run a macro.
"C:\Access\TestDB.mdb" /x macro

I have recently converted that database from Access 97 to Access XP and now this command line does not work.
I have tried many things including putting the path in, adding quotes, removing quotes. The best I get is the database opens and then it sits on the database window and will not run the macro.
Does anyone know what might be causing this problem??

Thanks
Andrew
 
And what about something like this ?
"C:\Program Files\Microsoft Office\Office10\MSACCESS.EXE" "C:\Access\TestDB.mdb" /x macro

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top