![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Determine the Size of the My Documents Folder
|
||
Const MY_DOCUMENTS = &H5&
Set objFSO = CreateObject("Scripting.FileSystemObject") Set objShell = CreateObject("Shell.Application") Set objFolder = objShell.Namespace(MY_DOCUMENTS) Set objFolderItem = objFolder.Self strPath = objFolderItem.Path Set objFolder = objFSO.GetFolder(strPath) Wscript.Echo objFolder.Size | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |