Path: utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!nosc!ucsd!ucbvax!PSUVM.BITNET!ART100 From: ART100@PSUVM.BITNET ("Andy Tefft 862-6728", 814) Newsgroups: comp.sys.apple Subject: Re: Getting a CATALOG into a file Message-ID: <8901251315.aa00307@SMOKE.BRL.MIL> Date: 25 Jan 89 16:23:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 16 Well, I haven't tried this out, but you DO have to use PRINT CHR$(4)"CATALOG" instead of using just CATALOG, as you do with all DOS 3.3 or ProDOS commands in programs. You can also read the directory in as a binary file, BLOAD dirname,A$addr,TDIR (of course this assumes you entered it from the keyboard; don't forget the ?CHR$(4)!) and then try to decode the information from that... I do remember I figured out how to get the root directory this way, or I think I did, but can't remember what to use as the file name...