command line parameters

Hello

 

our application needs two command line parameters. (server_ip and port_number)

When putting a desktop shortcut to our application, I'am looking for a way to add specific command line parameters to that shortcut.

 

(in standard windows you can add command line parameters in "properties/shortcut/target"  behind the call of the .exe file)

 

How do You do that in windows embedded compact  7.0 ?

 

Thanks + Regards

 

F. Weisenberger

Christopher Sather
You can create a shortcut/lnk

You can create a shortcut/lnk file.  You may be able to find examples in your current image.

Make a text file with a .lnk suffix

56#"\windows\ceterm.exe" IDA_SESSION_S2 IDA_SESSION_CONNECT

  • the 56# is a character count ( include CR/LF), but it really isn't validated.
  • \windows\ceterm.exe is the application
  • IDA_SESSION_S2 IDA_SESSION_CONNECT is the parms

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Frank Weisenberger
unbelievable, that's

unbelievable, that's working

many thanks

F.Weisenberger

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments