Skip to content
⌘ NSIS Forum Archive

RMDir function question

3 posts

supertedusa#

RMDir function question

Do you have to Delete the contents of a directory before calling RMDir, or can you just delete everything using the RMDir function?

Thanks-

MT
Joel#
Using the parameter "/r" you can delete the hole directory.

RMDir /r $INSTDIR
;This will remove the $INSTDIR directory and its files.