>Hi All,
>
>I want to direct the creation of a temp cursor to a specific location, like a local temp folder but I don't want to use the SET DEFAULT TO command. Is there a way to do this like CREATE CURSOR C:\TEMP\TEMPCUR(field1, c(10),...)?
>Thanks.
>
>Luke
You need to specify the TEMP folder in config.fpw This is the folder where all the temporary cursors are created (if not specified, it uses Windows Default temp path).
See help for "Config.fpw"
TMPFILES path
Specifies where temporary work files specified by EDITWORK, SORTWORK, and PROGWORK configuration file settings are stored if they are not specified.
Because work files can become very large, specify a location with plenty of free space. For faster performance, especially in a multiuser environment, specify a fast disk such as a local disk.
Default: Operating system dependent. For more information, see Optimizing the Operating Environment.
If it's not broken, fix it until it is.
My Blog