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

Opening files

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have a program that originally accessed files in the same folder as itself, but I now want it to access a different folder, but branching of the folder it is in
eg: c:\vb\prog.exe accessing C:\vb\text\smile.txt
the program looks in an ini file for the location of the files. what shoulc I type in the ini file so it doesnt matter what folder prog.exe and the text folder are in?


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top