Archive: How to remove directory for sure ?


How to remove directory for sure ?
I tried

RMDir /r "$INSTDIR\LIBMOD\Addons\GENB_HS_core\*.*"
At the end of my install - directory gets empty, but still exists ( though I'm sure it's not used ) :(
What alternatives can I try ?

Try using /REBOOTOK and that will guarantee it's removed upon reboot if it can't remove it during uninstall.



SetOutPath $TEMP
RMDir /r "$INSTDIR\LIBMOD\Addons\GENB_HS_core"

Instructor
10x It's worky :D