Shortcut syntax

  • Thread starter Thread starter Bill
  • Start date Start date
B

Bill

I've entered:

C:\GCC\DB_Distribution.mdb /cmd "DBDist"

in the "Target" pane of a desktop shortcut with
the intent of examining the current command
value in code, e.g., if command() = "DBDist".
Yet, when the code runs command() returns
null.

I've tried a few variations of the syntax, but
Command() continues to return null.

Any ideas?

Bill
 
Works okay using Start -> Run, but one has to put
the entire expression (like shown in Command() HELP)
into the target of a shortcut AND ONLY the folder
in the "Start In" pane.

Target: "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE"
"C:\GCC\DB_Distribution.mdb" /cmd "DBDist"

Start In: "C:\Program Files\Microsoft Office\OFFICE11"

Similarly in a Scheduled Task properties sheet.

Bill
 
Back
Top