[comp.sys.apple] Catalogs from BASIC - DOS 3.3

lm03_cif@uhura.cc.rochester.edu (Larry Moss) (05/09/89)

Some time ago there were a number of postings concerning getting catalogs
of disk into files.  At the time I didn't think I would ever need to do
this again with DOS 3.3 (or even in BASIC for that matter).  I pulled out
my old falling apart copy of _Beneath_Apple_DOS_ but didn't find the
solution to my problem and I'm in kind of a hurry to find an answer.

I tried this but it threw me into the monitor after creating the file
with a catalog listing:

10 D$ = CHR$(4)
20 PRINT D$"OPEN CAT"
30 PRINT D$"WRITE CAT"
40 CALL 42350
50 PRINT D$"CLOSE CAT"

This worked for me at one point last week.  I have no idea what it was
that I did then, but it won't work now.  I don't wish to start up the
whole discussion again, so I mail might be better than posting replies.


I hope someone can help.


-Larry