Skip to content
⌘ NSIS Forum Archive

I can't delete a folder from $SMPROGRAMS

5 posts

VegetaSan#

I can't delete a folder from $SMPROGRAMS

Look I have this. But it won't work

Section

RMDir "$SMPROGRAMS\a-S Codec Pack\"
Delete "$SMPROGRAMS\a-S Codec Pack\Anime-Supreme"

SectionEnd

WHYYYYYY?******??? Please Help me
kichik#
You must specify the extension too. The extension of shortcuts is .lnk. Use:

Delete "$SMPROGRAMS\a-S Codec Pack\Anime-Supreme.lnk"
RMDir "$SMPROGRAMS\a-S Codec Pack"