Click to See Complete Forum and Search --> : Delete my runnning exe and directory


Zolix2010
September 25th, 2005, 01:09 PM
hi,
I know there's threads about this issue but none helped me.
i succeeded to delete my exe, but when it comes to its directory, it just dont do the trick...

can u tell me more info about deleting ur exe?
Avi.

NoHero
September 25th, 2005, 01:18 PM
A directory can only be removed if it's empty:


Self deleting EXE (http://www.catch22.net/tuts/selfdel.asp)
RemoveDirectory (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/removedirectory.asp)

Zolix2010
September 26th, 2005, 04:06 AM
after trying several options,
and eventually the "batch file" option was the most effective :)

thanks,
Avi. :thumb: