Hem / Tips & tricks
<%Set MyFileSize = Server.CreateObject ("Scripting.FileSystemObject")MyPath = Server.MapPath("/somedirectory")Set MyFolder = MyFileSize.GetFolder(MyPath)Response.Write MyPathResponse.Write MyFolder.Size %>