realbasic-nug
[Top] [All Lists]

Total file count?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Total file count?
From: Dave <mrtoast at gmail dot com>
Date: Fri, 31 Dec 2004 13:56:50 -0600
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=LYmqa/cP300+gxhJyV3/16cfZoolXXu6mZMsHifF8y6ntORmn/qHEK0x3r5JzkR41j0Kr8rUSDHbBulCVofxGDTt8sD/ipnzVUErEGO83bINiumxQSYyiLIHljOnbjSShjGuvI+TOEb0AuijqDiOvTYGtn7/ji5FGzSDtBOjBFY=
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?

Thanks!

Dave

-- 
"You take the blue pill. The dream ends, you wake up in bed and
believe whatever you want to believe. You take the red pill. You stay
in Wonderland and I show you how deep the rabbit-hole goes. You take
the purple pill. The pain stops, you are relieved from heartburn, and
the lining of your esophagus returns."

There's no place like ~/
_______________________________________________
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>