Bernie,

Here is a link to a plugin that will do it:

www.byerley.net/FileCount.zip

set a variable to TYPE TEXT

Call the Plugin with TWO arguments.  The First is the Full Path of the Folder 
to be searched.  The Second is the File EXTENSION to search for.  The 
extensions are any VALID FileSystem Extension including ? and * Characters.

To look for multiple extensions at once, separate the EXTENSION with the pound 
'#' Character.  This rules out any File Extension that Contains a pound 
character in the search.

EXAMPLES:

plugins Filecount.rbl vtext|c:\program files\borland\delphi7|*.txt#*.rtf


plugins Filecount.rbl vtext|c:\program files\borland\delphi7|*.*


plugins Filecount.rbl vtext|c:\program files\borland\delphi7|*.ABCD


----- Original Message ----- 
From: "Bernard Lis" <[EMAIL PROTECTED]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Wednesday, May 14, 2008 11:26 AM
Subject: [RBASE-L] - Counting Number of files in a folder


> How can I retrieve the number of files in a given folder?
>
> Bernie Lis
>
>
> 


Reply via email to