Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!csd4.milw.wisc.edu!uxc!tank!nucsrl!accuvax.nwu.edu!bob From: bob@accuvax.nwu.edu (Bob Hablutzel) Newsgroups: comp.sys.mac.programmer Subject: Re: HELP with FileManager Message-ID: <10050061@accuvax.nwu.edu> Date: 7 Jan 89 15:13:03 GMT References: <3418@mipos3.intel.com> Organization: Northwestern U, Evanston IL, USA Lines: 28 > I am a new poster to this newsgroup. I have read the articles in this > newsgroup and have enjoyed them immensely. Welcome. > I want to write a label making program for the Mac. What I would like > to know is a simple way of getting a directory listing of a diskette. > I would like to do this from a C or Pascal program. I have looked in > Inside MacIntosh II and have found some low-level ROM calls (FileManager). > However, finding them in IM II does not mean I understand them. Could some > helpful soul out there tell me how to use them. ADVthanksANCE. Ignore Inside Mac II. Due to senility, the poor thing is living in a kinder, gentler, rose-tinted past. (With regard to the file manager, I mean). Nope, run right out and get Inside Macintosh IV. If you think the file manager was confusing in Inside Macintosh II, just wait until you see Inside Mac IV. However, there is hope. Get yourself a copy of Tech Note #68, which has, in Pascal and C, a routine which scans an entire directory. If this note is not available to you, drop me a line, and I'll mail it to you. (Binhexed). (By the way, don't dispair. The file manager does take some getting used to, I'll admit, but once you get the hang of it, it's quite easy to handle. Tech Note 68 will be a fairly good introduction). Bob Hablutzel BOB@NUACC.ACNS.NWU.EDU Disclaimer: After VMS RMS XAB fields, the file manager is easy...