Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sending commands to an app

Status
Not open for further replies.

TRYP

Programmer
Jun 20, 2000
136
US
i want to have a shortcut in the start-up folder that will send a variable/switch to my app so the app can do 1 of 2 different things on start-up compared to when launched regularly......
any ideas on where to look or any ideas on what to do ?

-tryp
 
Use Command function (in help)
Startup line would be MYApp.exe /a
Start normally with MyApp.exe /b
In your application you would have IF Command()="a" THEN DoFirsrthing ELSE DoSecondThing
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top