>>I want to specify the location of the temp files, using a configuration file for vfp.But vfp seems to be picky about the syntax, and microsoft help seems not to contain any examples of doing this (grumble, grumble).
>>
>>The Microsoft help says the syntax is
>>TMPFILES drive
>>
>>is it
>>
>>TMPFILES c:\temp
>>TMPFILES c:\temp\
>>TMPFILES 'c:\temp'
>>TMPFILES = c:\temp
>>TMPFILES = 'c:\temp'
>>set TMPFILES c:\temp
>
>TMPFILES=C:\TEMP
>
>This must be set in your CONFIG file.
>
>Caveat: old Fox products (not sure exactly when the transition occurred) would only accept the drive from the TMPFILES statement, and it used whatever the current directory at startup for the drive as its work area. To specify directories, you had to use the other configuration directives (SORTWORK, PROGWORK, EDITWORK) to set the drive and directory.
To handle the older Fox products (DOS ?) that didn't support the path, I used to use drive substitution mapping to the folder I wanted the tempfiles to be in:
AutoExec.Bat
SUBST U: C:\SCRATCH
Config.FP
TMPFILES=U:\