| Tool name : | SelfDelete version 0.1 |
| Description : | This is a proof of concept tool to show how to make a process delete its own binary file. Normally an exe file can’t delete itself because the file was locked when it was executed and still running. There are several ways to handle this. This solution solves this problem programmatically inside the calling program itself without incorporating external resources like a batch script. |
| Tested on : | Windows XP |
| Feedback : | In case you encounter any problems with the tool, you have suggestions to improve it, or you tested it with a Windows version i’ve not yet tested please drop me an email. |
| Downloads : | Binary | Source |
| Screen shots : | |
How to make a program to delete itself.
Dec 15th, 2009 by carrumba
one response to “How to make a program to delete itself.”
Leave a comment
But please respect the commenting rules. Critizism is appreciated and also general comments of course. If you're rude, I have to delete your comment. Also use your personal/nick name but avoid using business names. Have fun and thanks for participating the discussion.
I can see this being used in numerous beneficial ways. Works on Win7 x64 without any apparent problems. I didn’t test the binary, just the source code.