[comp.lang.pascal] Dos wildcards

elric%FSU.BITNET@ncsuvm.ncsu.edu (Commodore 128 User) (06/06/90)

I am writing a disk search program and I am trying to figure out how to
expand a wildcard Dos filename into a list of normal filenames.  For example,
how do I expand "*.pas" into a list of filenames such as "file1.pas",
"file2.pas" and "file3.pas".  The file searcher is written in Turbo Pascal
V5.5 and is essentially finished except that this feature would greatly
improve the flexability of it.  Thanks for the help.