START with switch

  • Thread starter Thread starter JIM.H.
  • Start date Start date
J

JIM.H.

Hello,

SET access_exe="C:\Program Files\Microsoft Office\Office10
\Msaccess.exe"
START %access_exe% /runtime test.mdb

This gives invalid switch "/runtime". The reason that I am
using START, msaccess.exe should return. Is there any
other way?
Thanks,
Jim.
 
In said:
Hello,

SET access_exe="C:\Program Files\Microsoft Office\Office10
\Msaccess.exe"
START %access_exe% /runtime test.mdb

This gives invalid switch "/runtime". The reason that I am
using START, msaccess.exe should return. Is there any
other way?

Try: START "" %access_exe% /runtime test.mdb
dbl-quotes are interpreted as a Title by START

START ["title"] ... [command/program] [parameters]
 
Also with start this would work

start msaccess /runtime test.mdb

As msaccess is registered (in AppPaths key), the path is not needed if using Windows parsing (start as opposed to cmd).

As the program filename is not now enclosed in quotes the title ("") can be ommitted.
--
----------------------------------------------------------
'Not happy John! Defending our democracy',
http://www.smh.com.au/articles/2004/06/29/1088392635123.html

Mark V said:
In said:
Hello,

SET access_exe="C:\Program Files\Microsoft Office\Office10
\Msaccess.exe"
START %access_exe% /runtime test.mdb

This gives invalid switch "/runtime". The reason that I am
using START, msaccess.exe should return. Is there any
other way?

Try: START "" %access_exe% /runtime test.mdb
dbl-quotes are interpreted as a Title by START

START ["title"] ... [command/program] [parameters]
 
SET access_exe="C:\Program Files\Microsoft Office\Office10
\Msaccess.exe"
START %access_exe% /runtime test.mdb

This gives invalid switch "/runtime". The reason that I am
using START, msaccess.exe should return. Is there any
other way?

START /? should get you started. Assuming CMD.EXE in NT5,
START "" %access_exe% /runtime test.mdb
will most likely work.

What's the switch /runtime supposed to do? I can't find it in my (V-9)
MS Access Help documentation.
 
Back
Top