Commandline switch in menu

Hello all,

I have a customized menu item, carrying following command:

^c^c^c(startapp (findfile "c:\\folder1\\folder2\\Program.exe"))

If I want to start Program.exe with a commandline switch, like : Program1.exe /switch,

is there a way available to put this in the menu?

If not, is there a workaround?

 

TIA,

Arno van Eeuwen

 

 

Comments

  • Arno, have you tried placing a commandline switch as a second argument to startapp?

    For example:

    (startapp "c:/program files/bricsys/bricscad v9/bricscad.exe" "/p profile2")

    does successfully start the bricscad app for me with the profile2 active.

  • That's exactly what I needed.

    Thank you, Greg.

     

This discussion has been closed.