realbasic-nug
[Top] [All Lists]

Re: Total file count?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Total file count?
From: Charles Yeomans <yeomans at desuetude dot com>
Date: Fri, 31 Dec 2004 15:09:16 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <772953130412311156689e8dea at mail dot gmail dot com>

On Dec 31, 2004, at 2:56 PM, Dave wrote:

Hi everyone,

Is there a way i can quickly find out the COMPLETE number of items in
a folder?  The MBS has a VolumeInformationMBS class with FileCount and
FolderCount properties, but I'd like to be able to get this
information for individual folders.

I realize I could write a recursive loop, checking for
Folderitem.Directory and all that, but I think that will be too slow.
I need this to be as fast as possible.

Any ideas?


<http://developer.apple.com/documentation/Performance/Conceptual/ FileSystem/Tasks/IteratingFiles.html>

--------------
Charles Yeomans

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>