Date : Sat, 09 Apr 1988 02:22:19 GMT
From : ncar!noao!mcdsun!nud!anasaz!chad@gatech.edu (Chad R. Larson)
Subject: CP/M Directory Entries
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! |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-