Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List the Subfolders of a Folder on the Local ComputerContent of List the Subfolders of a Folder on the Local Computer.vbsMD5 Hash: 98A97FBEABD9B625798B437D8F07A779 |
||
' Description: Demonstration script that uses the FileSystemObject to return the folder name and size for all the subfolders in a folder. Script must be run on the local computer.
Set objFSO = CreateObject("Scripting.FileSystemObject") Set objFolder = objFSO.GetFolder("C:\FSO") Set colSubfolders = objFolder.Subfolders For Each objSubfolder in colSubfolders Wscript.Echo objSubfolder.Name, objSubfolder.Size Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |