5526
Circle Dock / Re: circledock DELETED ALL MY FILES! help!
« Last post by Stoic Joker on February 04, 2010, 12:58 PM »for the programmers out there, as has been pointed out by others in this thread, if you get the brilliant idea of adding a function to your program that involves deleting the contents of a folder, you should stop what you are doing, take a break from the computer, and jump into an ice cold shower. it's just a recipe for disaster, and no matter how clever you try to be, the chances of something going wrong are just way to high to offset any convenience that might be gained. the solution, if you need the directory emptied, is as veign suggests, and as i understand circledock does now, is simply to tell the user to go empty the directory on their own.-mouser (February 04, 2010, 11:26 AM)
One of the in-house billing applications I wrote creates two copies of each bill it generates, one in an archive on the server, and one view only temporary copy in the user's Temp directory ... User's Temp is automatically cleared on program exit - by design... Which folder actually gets cleared at run-time ... is an oddly random affair. Fortunately the truly critical information is stored in a SQL db so nothing (critically) important is really lost.
Moral being (as Mouser above states) Programmatic Auto-Delete Bites.

Recent Posts
ing thick).