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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finding where the program was installed

Status
Not open for further replies.

jvff

Programmer
Apr 1, 2001
64
BR
How can I find out the directory the program is??? I need to open a file called "Files\\G6P1.txt". :) Thank you,

JVFF (Janito Vaqueiro Ferreira Filho)
 
usually argv[0] points to the program that's running...
Disclaimer:
Beware: Studies have shown that research causes cancer in lab rats.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top