Delete Folder?
Hello,
I have used search and can not find an answer to my question, can someone help me? I have a sub folder within a folder and want to delete it along with any contents. I can delete files within a folder but not the folder itself
Here is my code
#Installs/Deletes files in specified directory------------------------------------------------------------------------------------------------------
Section -Main SEC0003
SetOutPath "$DOCUMENTS\Firmware\Phase 1"
Delete *.*
#SetOverwrite on
SectionEnd
#--------------------------------------------------------------------------------------
#Installs/Deletes files in specified directory------------------------------------------------------
Section -Main SEC0004
SetOutPath "$DOCUMENTS\Connect \Phase 2"
Delete 2.23
SetOverwrite on
SectionEnd
#-------------- 2.23 is one of the folders I want to delete.