Folder size

Results 1 to 2 of 2

Thread: Folder size

  1. #1
    Join Date
    Dec 1969

    Default Folder size

    i need information how to find the folder size in asp if it <BR> has also sub folder and so on .i need the code in asp .<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Folder size

    Just getting the .SIZE property on a Scripting.Folder object will do the job. But fair warning: In order to give you that size, the system has to go out and add up all the file sizes in the folder, so it&#039;s an expensive operation that is best not done very often!<BR><BR>To see how to use FSO, check the ASPFAQs (link at top right corner of this page). It shows how to get file sizes and sort by them, even, but getting folder size is really the same process.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts