For this code golf challenge, you must produce a .exe runnable on windows. After running this .exe from any path with any name it must be deleted after execution.
My reason for limiting this to windows is something like this may be significantly easier if you have some niche OS.
Language(and code) used to produce the .exe is irrelevant, the file size of the executable is what will be measured for this. But still post the code used to produce it, along with the resulting file size.
This is code golf, but again the goal is the smallest executable file.
main(int a,char**b){unlink(*b);}
is all you need. (Same goes for OSX.) \$\endgroup\$