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!

How to Start App with parameter and use the param in the code ?

Status
Not open for further replies.

Spent

Programmer
Mar 20, 2003
100
BG
Can anyone tell me how to get the param if I start app with a parameter.For Example lets say i have an application called TextEdit.exe and I start it with:
TextEdit.exe file.txt

I want to know how to get in a String variable the name file.txt to use it.
Thank's to anyone who can help.

Spent
Spentbg@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top