Try this: http://www.codeguru.com/Cpp/W-P/files/fileio/article.php/c1287/[^] When you delete a file that's locked by another process, you could corrupt the other process, but then I assume you already know that. This may or may not work, and if it trashes your system, I won't be accepting responsibility. How did I find it? Google - again. Over 3.9 million search results returned. I apologize ahead of time if anyone thinks this reply exhibits a bad attitude. Well, not really, but you never know what pansy-ass overly sensitive individuals might be reading this.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001