Command String

Windows specific forum
cecilcheah
Enthusiast
Enthusiast
Posts: 168
Joined: Wed Jun 04, 2003 8:44 am
Location: Switzerland

Command String

Post by cecilcheah »

Hi

Is there a way to use a command string with my application?

For example, my application is called Foo.exe, i want the user to be able to write this:

Code: Select all

foo.exe?showSplash=false
and my application will receive FALSE and know it will not show the splash on start.

Is this doable?

Cecil
Berikco
Administrator
Administrator
Posts: 1326
Joined: Wed Apr 23, 2003 7:57 pm
Location: Belgium
Contact:

Post by Berikco »

Parameter$ = ProgramParameter()
User avatar
GedB
Addict
Addict
Posts: 1313
Joined: Fri May 16, 2003 3:47 pm
Location: England
Contact:

Post by GedB »

Except you will need to separate the name from the paramaters by a space rather than a ?
HarryO
User
User
Posts: 42
Joined: Wed May 07, 2003 4:25 am
Location: Palatine,IL.,USA

Post by HarryO »

Cecil,

I put up a snippit of code to show one possible solution, at:

viewtopic.php?t=6365

Hope this helps.

HarryO
Post Reply