Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Config.fpw
Message
 
À
23/09/1999 15:29:45
Randy Hooper
Ranco Business Software
Tampa, Floride, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00267423
Message ID:
00268178
Vues:
23
>>>>I did the same thing in FPDOS, but I don't in Windows. If the system is not shut down properly work on why that happened. Allow Windows to clean up after itself. I don't like the idea of deleting files programatically because there are things that Windows could be doing on a reboot that you might affect.
>>>>
>>>>Wayne
>>>
>>>I understand what you are saying. I have had users swear they shut down correctly if I look at the windows temp file without vfp running the temp files are there. If I create a temp directory to hold the temp files and on startup if any are there and delete them what harm could this cause. Your message said look at why this would happen give me some ideals to look for.
>>>
>>>Thanks for your respond, Randy
>>
>>
>> The main thing I want you to make sure of is not to delete anything unnecessary. The original design of our application deleted *.tmp from the windows\temp directory. We didn't have any problems with that in testing, but when it was installed on a client site we received several complaints about this practice because we were deleting files that were placed there by some other application's install. The install was attempting to reboot and start another process, but would crash because the files that were written to the temp directory had been erased by our product.
>>
>>
>>Wayne
>
>Point well taken. So if I have my on directory for temp files and stay away from windows temp files and only delete my temp files out of the directory I have set up. I should be OK. Agree.
>
>Randy

Maybe if it is under your application directory... I wouldn't use c:\temp either >BG<

Wayne
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform