Delete folders with wildcards
Hallo world,
the manual says that "RmDir" cannot be used with wildcards. So how can I make NSIS delete all folders that follow a given wildcard pattern (such as "MyFolder*")?
Jens
Archive: Delete folders with wildcards
Delete folders with wildcards
Hallo world,
the manual says that "RmDir" cannot be used with wildcards. So how can I make NSIS delete all folders that follow a given wildcard pattern (such as "MyFolder*")?
Jens
FindFirst/FindNext/FindClose
Maybe u can use /r to tell RMDIR to go recursivly.
RmDir /r "$INSTDIR/MyFolder"
Works great - thanks for the hint!