I created a SFX to extract some files. After the extraction, I need that the SFX file is deleted. As far as I have seen, WinRar does not offer such option. So I thought to run some DOS command -prompt (like bat).
This is my code so far (not working):
SETUP=cmd /c del /f /q "file-to-delete"
It opens the cmd, flashes and then closes...
Someone with a similar problem: http://www.msfn.org/board/topic/34506-sfx-remove-file-after-extraction/