When I used GFA on the AtariST there were commands to find the first and next occurrence of a specified file/folder name.
Is there anything in PB or WinAPI that uses the same method?
What I was thinking was something like this:
eg.
FSFirst
Syntax: FName$=FSFirst(p$,attr)
Action: Searches for the first file on a disk to fulfill the
criteria specified in p$ (eg: "*.TXT"). If found, the
filename and attributes are returned to a buffer.
The parameter 'attr' is the file atributes to search on. ie
file/folder
FSNext
Syntax: FName$=FSNext()
Action: Search for the next file which fulfills the conditions of
FSFirst.
Dunno, what do you genii think


