View VBScript : How to check if a folder is empty Option Explicit Dim oFS : Set oFS = CreateObject("Scripting.FileSystemObject") Function FolderEmpty(strFolderPathName) Dim oFiles, oFile, oFolder, oSubFolders, oSubFolder Dim blnFileFound : blnFileFound = False Set...Read More