Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!zaphod.mps.ohio-state.edu!ncar!ames!sun-barr!newstop!sun!imagen!atari!apratt From: apratt@atari.UUCP (Allan Pratt) Newsgroups: comp.sys.atari.st.tech Subject: Re: Hidden folders (was Hidden Files) Message-ID: <2827@atari.UUCP> Date: 6 Feb 91 20:59:38 GMT References: <1991Jan16.163558.26338@arc.ab.ca> <1991Jan21.053855.1449@mailer.cc.fsu.edu> <8800@star.cs.vu.nl> <15861@sdcc6.ucsd.edu> <2814@atari.UUCP> <2088@odin.cs.hw.ac.uk> Organization: Atari Corp., Sunnyvale CA Lines: 16 neil@cs.hw.ac.uk (Neil Forsyth) writes: >As it is I can hide a folder by flipping the bit manually >using a disk editor. (It's OK Allan I reboot afterwards!) It's not OK. GEMDOS's behavior in the presence of unexpected flag combinations is undefined. For example, some places in the code could check for (attr & SUBDIR) but some check for (attr == SUBDIR). So you might find that you can use the thing as a folder, but you can also Fdelete it, or if you Fcreate a file with the same name it'll get clobbered! This would be disaster for the files contained in the folder. You're playing with fire. ============================================ Opinions expressed above do not necessarily -- Allan Pratt, Atari Corp. reflect those of Atari Corp. or anyone else. ...ames!atari!apratt