Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot create program workspace temp files
Message
 
 
To
25/07/2014 13:23:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01603693
Message ID:
01604679
Views:
51
>Finally found th e reason for my problem:
>
>The TEMP dir (%TEMP%) had too many files. I deleted files and all is working fine again.
>
>Which leaves as question:
>
>How can I automatically delete unnecessary files without "disturbing" programs that rely on one of that files?
>
>TIA
>Gerhard
>
Simply add try/catch around delete file, so you'll just log file that can not be deleted and proceed with other deletions.

You can also check if the file is used by first trying to get exclusive access to the file.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform