>>>Even smarter would be a way to change temp path for any new item while keeping the list of currently open temp files on previously set paths via SET command. Had issued such a enhancement wish, MS reaction was along the lines of "interesting idea, makes technical sense, but we won't go for it - usual user does not face such problems..."
>
>Looks like he just did that too, using a new SYS(9021) function:
>
>
SYS(9021,"TMPFILES","%TEMP%\%VFPPROCESSID%")
>
>
I wish we had this 20 years ago...
I assume the temp files already open remain where they were, and that ALL of them get cleaned up on exit. Cleaning the folders which were created like this would be a bonus (i.e. close all, erase all, remove folder).