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
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