1

我已经尝试过这些,但它们没有工作(访问打开,但它不等待:

start "C:\program files\Microsoft Office\Office\MSACCESS.EXE" filename.mdb

start /WAIT "C:\program files\Microsoft Office\Office\MSACCESS.EXE" filename.mdb

start /W "C:\program files\Microsoft Office\Office\MSACCESS.EXE" filename.mdb

start filename.mdb

start msaccess.exe filename.mdb
4

2 回答 2

2
start /WAIT msaccess.exe filename.mdb

成功了。

我不知道为什么添加完整路径会使其失败。

于 2008-10-06T21:35:43.907 回答
1
PATH="C:\Program Files\Microsoft Office\OFFICE11\; C:\Windows\Command"
START /WAIT MSACCESS.exe "path to mdb file" /X "name of macro"
于 2011-07-25T13:46:17.253 回答