Talk:Check if dir is empty
From NSIS Wiki
Jump to navigationJump to search
This function worked great and really helped me out. Thank you very much!
Change suggestion for ALL files
On line 5 of the script, FindFirst $0 $1 "$0\*.*"
doesn't actually find ALL files. What if the file is called, "README", then it would not be found.
Suggestion:
- New:
FindFirst $0 $1 "$0\*"
- Old:
FindFirst $0 $1 "$0\*.*"