omorx.blogg.se

Exe files automatically deleted
Exe files automatically deleted











exe files automatically deleted

One of the methods that initially came to mind was to open a file handle to the current process, and pass FILE_FLAG_DELETE_ON_CLOSE, then just do the remaining work but that didn't seem to work, as the current process carries a handle to itself which doesn't specify the FILE_SHARE_DELETE share mode-which makes sense, i suppose.Īnother idea was to accept command line parameters in your entry point, and delete the file specified therein.

exe files automatically deleted

So there are dozens of ways to create the effect shown in your video.













Exe files automatically deleted