Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can you set TMPFILES anywhere other than CONFIG.FPW?
Message
From
15/03/1997 18:50:54
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00024276
Message ID:
00024423
Views:
40
>>We have an app that will be distributed in a stand-alone version on CD-ROM. The problem is that temp files are written by default to the startup directory. On CD-ROM, that would be the startup directory on the CD which is read-only of course. Instant crash.
>>
>>While we could just put "TMPFILES C:\" in CONFIG.FPW, this isn't a great solution. Some folks may have partitioned drives with C being a small partition with the operating system on it and D being the data partition.
>>
>>Is there any way to intelligently set TMPFILES? It would nice to be able to get the space available from all local drives and set TMPFILES to the drive with the most space.
>>
>>TIA
>
>Gary,
>Looks like you can set the location using the menu option also. Tools-options-file locations-temporary files, then save as default.
>
>Seems like there used to be system variables in previous versions, like _sortwork,_progwork,_editwork, but I can't find any refrence to these anymore, so maybe I'm wrong.

What do you think that menu option does??? It modifies CONFIG.FPW...

There were never system variable _SORTWORK, _PROGWORK, etc.

Craig
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform