Using the COMMAND ( /cmd) function at startup

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have an app that I want to pass a command-line parameter to (Access2002). I
add the "/cmd "xxxx" " to the command-line in the shortcut, but for some
reason the value isn't being picked up by the form that opens on startup.

Any ideas?

Thanks!
 
While normally shortcuts to Access database can simply consist of the path
to the MDB file, to be able to use any of the startup switches, the shortcut
include the path to msaccess.exe:

"C:\Program Files\Microsoft Office\Office\MSAccess.exe" "C:\Program
Files\Microsoft Office\Office\Samples\Northwind.mdb" /cmd xxxx
 
That was the solution, thanks! Once I added the path to MSACCESS.EXE, the
command text was passed okay.

Dennis
 
Back
Top