FSO question

Results 1 to 3 of 3

Thread: FSO question

  1. #1
    Join Date
    Dec 1969

    Default FSO question

    I have a script where I list all of a directory&#039;s subfolders and each subfoler&#039;s contents. Is there a way I can list only those subfolder that contain something. In other words, if a folder is empty, it won&#039;t show up?<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: FSO question

    Yup.<BR><BR>There&#039;s a Folder object with the property of Size.<BR><BR>If Folder.Size = 0 etc ...<BR><BR>I&#039;m not sure how it works having never used it but I&#039;m sure a few minutes on Google and you&#039;ll root out something - good luck.<BR><BR>G

  3. #3
    Join Date
    Dec 1969

    Default You would have to check..

    .. each folder if it contains anything. Only show it if it does.<BR><BR>You can do it as you are looping through and displaying each one.<BR><BR>-Doug

Posting Permissions

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