>I am trying to redirect tempfiles from C to D drive, where I have much more space.
>I put following line into CONFIG.FPW:
>TMPFILES=d:\TEMPFILES
>But GetEnv('temp') still shows C:\WINDOWS\TEMP and my query fails because of space.
>
>What I am missing?
VFP doesn't rely on the TEMP environment variable; you do need to ensure that the directory D:\TEMPFILES exists and, under NT, you have full rights to the directory.
>TIA
>Oleg