Path: utzoo!mnetor!uunet!husc6!bloom-beacon!gatech!ncar!noao!mcdsun!nud!anasaz!chad From: chad@anasaz.UUCP (Chad R. Larson) Newsgroups: comp.os.cpm Subject: Re: CP/M Directory Entries Message-ID: <948@anasaz.UUCP> Date: 9 Apr 88 02:22:19 GMT References: <8803141649.AA29511@ucbvax.Berkeley.EDU> <4314@cup.portal.com> Reply-To: chad@anasaz.UUCP (Chad R. Larson) Distribution: na Organization: Anasazi Inc, Phoenix AZ Lines: 27 Keywords: set stat Summary: already built in In article <4314@cup.portal.com> Mike_W_Ryan@cup.portal.com writes: >Speaking of CPM directories.... > >Does anyone know of a PD utilty to hide/unhide files on CPM? Unless I completely misunderstand your question, you don't need any PD utilities. Under CP/M 2.x use "stat filename.typ $sys" and under CP/M 3.x use "set filename.typ[sys]". You may use wildcards in either file spec. These commands set the system attribute in the directory entry which makes the file not appear in directory listings. You may reset the bit with "stat filename.typ $dir" or "set filename.typ[dir]". Other attributes that may be manipulated are read-only/read-write and the "archived" bit. In addition, under CP/M 3.x, files in user area 0 with the system attribute may be opened in read-only mode by programs running in any user area. Makes a good way to stash all your .com files. -crl --------------- "I read the news today, oh boy!" --John Lennon =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | DCF, Inc. | UUCP: ...noao!mcdsun!nud!anasaz!dcfinc!chad | | 14623 North 49th Place | Ma Bell: (602) 953-1392 | | Scottsdale, AZ 85254 | Loran: N-33deg37min20sec W-111deg58min26sec | =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | Disclaimer: These ARE the opinions of my employer! | =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=