Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-lcc!mordor!styx!ames!ucbcad!ucbvax!ANDREW.CMU.EDU!mw22# From: mw22#@ANDREW.CMU.EDU (Michael Alan Wertheim) Newsgroups: comp.sys.apple Subject: Re: Need help with MLI Message-ID: Date: Tue, 28-Apr-87 17:04:34 EDT Article-I.D.: andrew.wUZFZWy00V4I8iQ0PK Posted: Tue Apr 28 17:04:34 1987 Date-Received: Thu, 30-Apr-87 04:34:48 EDT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 19 I finally got my program working by using getting the last-used unit number out of $BF30 and calling ReadBlock to read block 2 from that volume. The volume name is near the beginning of block 2 on any ProDos volume. I then tack my filename onto the prefix, put a slash in front of the whole thing, adjust the length, and all is well. (Except this won't work if the file I need is buried in a subdirectory.) It seems that the MLI should have a "set slot/drive" command that takes a unit-number as input and sets the prefix to the volume name at that unit. If there is no volume there, it should return an I/O error. Michael Wertheim Carnegie Mellon University Pittsburgh, PA Arpa: mw22@andrew.cmu.edu Bitnet: mw22@cmuccvma UUCP: ...!{seismo, ucbvax, harvard}!andrew.cmu.edu!mw22#