Path: utzoo!attcan!uunet!lll-winken!ames!oliveb!pyramid!nsc!voder!tolerant!procase!bauer From: bauer@procase.UUCP (Jerry Bauer) Newsgroups: comp.sys.apple Subject: Getting a CATALOG into a file Keywords: CATALOG Message-ID: <410f8301.14dd6@c> Date: 24 Jan 89 19:12:00 GMT Organization: proCASE Corporation, Santa Clara, CA Lines: 34 Alright, class, today's question is: Under ProDOS, in APPLESOFT, how can one get a list of the files on a given disk (CATALOG) into a file? This code DOESN'T work: 100 PRINT CHR$(4);"OPEN TEMP.CATALOG" 110 PRINT CHR$(4);"WRITE TEMP.CATALOG" 120 CATALOG 130 PRINT CHR$(4);"CLOSE TEMP.CATALOG" because line 120 becomes: 120 C AT A LOG (Isn't APPLESOFT wonderful?) I suspect that answers to this question are of general interest; but if you disagree, just send them to me JRBauer (Jerry) ...!tolerant!procase!bauer ...!hpda!procase!bauer ...!cae780!procase!bauer -- JRBauer (Jerry) ...!tolerant!procase!bauer ...!hpda!procase!bauer ...!cae780!procase!bauer