Function Reference

_FO_IsEmptyFolder
Checks whether the folder is empty.
#Include <FileOperations.au3>
_FO_IsEmptyFolder ( $sPath )
Parameters
| $sPath | The path to the folder |
Return Value
| Success: | Returns 0 - not empty or 1 - empty |
| Failure: | Sets @error to 1 if the object is not an existing folder |
Example


; AZJIO
; http://www.autoitscript.com/forum/topic/133224-filesearch-foldersearch/
#include <FileOperations.au3>
MsgBox(0, 'IsEmptyFolder', _FO_IsEmptyFolder(@WindowsDir))