START with switch

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.
 
M

Mark V

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]
 
D

David Candy

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]
 
M

Michael Bednarek

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top