In response to some of the little horrors that get written into the system32 directory if you allow your machine to be scanned by some software on the net, I have been toying with the idea of making a small app that only exists while it is being run to do whatever I need so that it can never be recognised by some installed garbage.
This toy is just the test piece to create a random file name, write a small test EXE to disk, run it then delete it as soon as its closed.
[attachment deleted by admin]
You didnt want to use GetTempFileName?