command line parameters

// Expert user has replied.
F Frank Weisenberger 3 years 4 months ago
5 1 0

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

Please Register or Login to post a reply

1 Replies

C Christopher Sather

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

CONTACT
Can’t find what you’re looking for?