Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,12 +0,0 @@
|
|||
Function IsDirEmpty(path)
|
||||
IsDirEmpty = False
|
||||
Set objFSO = CreateObject("Scripting.FileSystemObject")
|
||||
Set objFolder = objFSO.GetFolder(path)
|
||||
If objFolder.Files.Count = 0 And objFolder.SubFolders.Count = 0 Then
|
||||
IsDirEmpty = True
|
||||
End If
|
||||
End Function
|
||||
|
||||
'Test
|
||||
WScript.StdOut.WriteLine IsDirEmpty("C:\Temp")
|
||||
WScript.StdOut.WriteLine IsDirEmpty("C:\Temp\test")
|
||||
Loading…
Add table
Add a link
Reference in a new issue