techknight Well-Known Member Licensed User Longtime User Oct 21, 2015 #1 Is there a way to test if a directory is empty with no files?
M Mahares Expert Licensed User Longtime User Oct 21, 2015 #2 B4X: Dim MyList As List = File.ListFiles(File.DirRootExternal & "/test") If MyList.Size=0 Then Log("test folder is empty") Upvote 0
B4X: Dim MyList As List = File.ListFiles(File.DirRootExternal & "/test") If MyList.Size=0 Then Log("test folder is empty")