Another issue to consider is security. Some programs, such as mine, needs to carefully control temporary files. Unless the user selects a specific directory for temporary files, the files are put in a subdirectory of the program directory, created at run-time, then is security erased when done.
Letting the operating system handle where to put the temporary files is a security issue for certain types of programs. My opinion is it is best to simply ask the user at install where to put temporary files and save that in a config file or in a table field, or simply create a temporary directory on the programs directory. ------------ Scott Doctor scott at scottdoctor.com ------------------