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!

WIN_API and 'Start In' on Windows NT

Status
Not open for further replies.

djmartin

Programmer
Mar 26, 2001
27
AU
Okay .. I want to know from which directory a user is running their application.
I can control the Registry Forms_Path data, but I can't stop them changing the 'Start In' option of their desktop icon.

If I use the following line I can display the current windows directory:
message(Win_Api_Environment.Get_Environment_String('WINDIR'));

I can do similar for PATH, TMP, TEMP, etc.

Any idea as to what the Environment string might be for the 'Start In' directory name?

David

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top