Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot create program workspace temp files
Message
 
 
À
25/07/2014 13:23:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01603693
Message ID:
01604679
Vues:
50
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform