Archive: How to delete the files after close the EXE file


How to delete the files after close the EXE file
Sorry for newbi question.

I made a EXE by NSIS, extract to $EXEDIR
Could I delete the files extracted after I close the program?
Thanks so much


Use Delete to delete files or RMDir to remove whole directory.


If the files are not extremely big, you should put temporary files in $PLUGINSDIR, not $EXEDIR. If the files ARE extremely big, you should ask the user where to extract them, not choose yourself.