I just ran some testing with VFP 7. If I clear out the "Temporary files" path in Tools | Options, and I start VFP in development mode, the temp files end up in the VFP directory, not the directory I'm in. If I launch an EXE from outside of VFP, the temp files end up in the Windows temp directory.
>Hi Barbara,
>
>PMFJI, but what does VFP do in the absence of TMPFILES? Use the Windows TEMP directory, error? Just curious...
>
>
Sergey has given you the answer for creating a directory, but the problem is that you're in something of a "Catch 22" for TMPFILES. You see, you have to have VFP already up and running in order to use the MD command, which means VFP has to have already created the temp files in whatever temp directory you want to use. If you can't count on the temp directory being there, and you can't run something to create it from outside your program, it's best to just use the Windows temp directory.
>