<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Thu, 10 Sep 1987 18:52:05 GMT
From   : hao!gaia!cook@husc6.harvard.edu (Forrest Cook)
Subject: BDOS Function: Search For Next

Does anybody out there have any experience with the CP/M bdos calls
Search for First and Search for Next?
I am working on a program that needs to read every file off of a cp/m disk.
I set the file name in the FCB to ????????.???.
Search for First is called, and returns with the FCB pointing to the first
file on the disk.
The first file is opened, read, and closed successfully.
Search for Next returns with file not found.  (There are more files).
If I set the FCB to ????????.??? before doing the Search for Next, The
function returns with the first file again.
It seems like I am doing something wrong with the FCB.

Any Suggesstions?

Forrest Cook
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>