Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TMP files hanging around..
Message
 
To
03/09/1997 16:58:41
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00048372
Message ID:
00049224
Views:
41
>I have a 'launcher' application run my APP. This controlling EXE creates a cursor or two while loading. Since this EXE does not get control back from the APP, it never cleans up after itself (the TMP files). How can I force it to clean up these files?

I have a UDF I call in my startup programs which attemps a FOPEN() on .TMP files. I the FOPEN() is successful (the file is not currently in use), then the .TMP file must be a leftover. I then delete it.

It is important to run this at program STARTUP because once in the app, you never know what the user will do (reboot, shut down, etc.)

HTH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform