open a .mdb from a batch file using the Start command
Posted on 2000-04-17
I am trying to start multiple instances of Access from a batch file (different mdbs) so they all run at the same time,
using the standard:
[path to Access] [path to mdb] /cmd[stuff as string] eg:"C:\MSAccess.exe" "C:\database.mdb" /cmd "parameters"
repeated for each mdb. works fine in Win95 they all open and operate together but NT waits till the first instance of Access has closed before executing the next command, the way a batch file is suposed to work. SOmeone suggested using the START command (which opens a new dos box then executes the passed command line)eg:
START "C:\Msaccess.exe" "C:\database.mdb" /cmd "parameters"
This opens mutiple instances together but Access igonores the /cmd switch, I think that NT thinks that the /cmd is a Start command switch. Iv'e tried enclosing different bits in "" but no success.
Please help me