Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!bellcore!faline!scherzo!allegra!mit-eddie!ll-xn!ames!ucbcad!ucbvax!decvax!decwrl!sun!imagen!atari!leavens From: leavens@atari.UUCP Newsgroups: comp.sys.atari.st Subject: Re: Problems with Fattrib on a directory Message-ID: <582@atari.UUCP> Date: Wed, 4-Mar-87 15:26:15 EST Article-I.D.: atari.582 Posted: Wed Mar 4 15:26:15 1987 Date-Received: Sat, 7-Mar-87 00:11:14 EST References: <8702170915.AA29778@jade.berkeley.edu> Organization: Atari Corp., Sunnyvale CA Lines: 12 > I have been using 'Fattrib' gemdos function to read the attributes of a > directory but all it returns is 0 without bit 0x10 set to indicate that > it is a directory. I just spoke with one of the programmers, and apparently you can't read the directory bit using Fattrib. This is because Fattrib has the possibility of changing the values for this attribute bit, and since doing so would roach the system (you don't want to set a non-directory file to a directory, and vice-versa), the call just doesn't return that info. The programmer suggested using Fsfirst, which also returns the attrib info, but in a read-only fashion. --alex (The Other One)