about empty directory
-
Hi All, a very simple question , what will be the fastest way to know that whether a directory is empty or not.ofcourse i can use directory or directoryinfo class and can use getfilesystementries or getfilesysteminfos function and thus check whether it is having any children or not.but i am not intrested in the all the children.what i want to know whether it is having any child or not?any suggestions are most welcome.is there any api, which can be used?Thanks in advance. Rakesh
-
Hi All, a very simple question , what will be the fastest way to know that whether a directory is empty or not.ofcourse i can use directory or directoryinfo class and can use getfilesystementries or getfilesysteminfos function and thus check whether it is having any children or not.but i am not intrested in the all the children.what i want to know whether it is having any child or not?any suggestions are most welcome.is there any api, which can be used?Thanks in advance. Rakesh
GetDirectories Ankit Aneja "Nothing is impossible. The word itself says - I M possible"