Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows Temp Folder - how to find ?
Message
 
 
To
22/12/2000 16:05:12
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00393592
Message ID:
00456478
Views:
27
>>>>I never explicity set TMPFILES, so it's one and the same to me.
>>>
>>>So how do you make sure that temp files are not stored on the server when running off a network drive?
>>
>>Specify the drive and directory in the CONFIG.FPW file.
>
>But our fellow member mentioned he never sets TMPFILES which is, guess where... :).
>
>One way would be to keep the temp files on the local temp drive (using GetEnv("temp"), but then programmatically create our own subdirectory in it, and write this location into a config.fpw... which would then be a PITA to propagate into the .lnk file, because we'd need to force the icon to have the -c[path to our config file] switch. Sort of a circulus viciosus.
>
>In the office here we have an installer which creates c:\[our_logo_name]\temp and we have a class which forces the creation of temp files there, but this doesn't work for cursors - they still end on the default temp location - this is just the temp .dbf and .cdx stuff.

Hi Dragan,

Just in case: I created a FAQ #7988705 how to retrieve Windows Folders. Basically it's a summary of a thread. Also there is a Document in Documents section devoted the same problem. Only Ed contributed, though...
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform