Use "FileList" function on BudAPI:
------------------------------------------------------
Description:    baFileList returns a list of files in a folder.

Usage:  Result = baFileList( Folder, FileSpec )

Arguments:      String, string.
        Folder is the name of the folder to list.
        FileSpec is the pattern of files to match.

Returns:        List (Xtra) or String (UCD).
Returns the list of matching files. If Folder doesn't exist, then an empty
list/string is returned.

Examples:       Director:
        set Files = baFileList( "c:\windows", "*.*" )
---------------------------------------------------------


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Bill Numerick
Sent: Monday, March 26, 2001 11:54 PM
To: [EMAIL PROTECTED]
Subject: <lingo-l> searching a folder for files and returning their
names?


Is there a way to search a folder and return all the file names?

Thanks

-Bill
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to