Dan Kloke wrote:
for some purposes, calling the API may be overkill (for example, the default value for a SaveDialog1.InitialDir) compared to some of the system variables like %HOMEDRIVE% and %HOMEPATH%.
HomePath gets you one directory. What about all the rest, such as the Application Data folder, or the My Documents folder, or the Desktop?
And that particular directory seems like a pretty lousy place to offer to save files.
this site has a little table of such variables http://www.wilsonmar.com/1envvars.htm
Of that list, WinDir is not set on my computer. I wonder how reliable that list is. Which other variables are not set on others' computers?
-- Rob __________________________________________________ Delphi-Talk mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi-talk
