• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 688
  • Last Modified:

Open Access dbase from batch file generates error

I want to open an Access 2007 database from a batch file.
When I try to do it, I get an error stating the process cannot access the file because it's being used by another process. However, I can run it from the RUN window. What am I missing?
  • 2
1 Solution
I do this regularly with statements like this:

"C:\Program Files\Microsoft Office\Office14\MSACCESS.EXE" "C:\SchTasks\payroll.accdb"

What does your batch command look like?

JP_TechGroupAuthor Commented:
Just like that.. weird... now it works...
I deleted the batch file and retyped it. Must have had some kind of corruption. Thanks.. have some points anyway.
Glad you got it working. Thanks!

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now