Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rochester!ritcv!iav1917 From: iav1917@ritcv.UUCP (alan i. vymetalik) Newsgroups: comp.sys.ibm.pc Subject: Re: Hidden Subdirectories Message-ID: <40@ritcv.UUCP> Date: Tue, 20-Jan-87 04:16:21 EST Article-I.D.: ritcv.40 Posted: Tue Jan 20 04:16:21 1987 Date-Received: Tue, 20-Jan-87 22:43:22 EST References: <568@pbhyc.UUCP> <14366@amdcad.UUCP> Reply-To: iav1917@ritcv.UUCP (alan i. vymetalik) Organization: Rochester Institute of Technology, Rochester, NY Lines: 59 [Etched along the walls of the CD's groove, the words "EAT HOT LASER DEATH!"] In article <14366@amdcad.UUCP> philip@amdcad.UUCP (Philip Freidin) writes: >In article <568@pbhyc.UUCP> jdf@pbhyc.UUCP (Jack Fine) writes: >> >>Got a question. Can I make a subdirectory hidden like a hidden file? And >>if so, can I then access it like a normal subdirectory? If all this can be >>done, how? >> >I've seen this done, but it was with a sub-directory name of non-displayable >characters. There exists a PD package of programs that ar called: > MDSKRT make directory secret > CDSKRT change directory secret > RDSKRT remove directory secret Plug for PD-software... Simply use CHMOD by Gene Cohler (as posted to this newsgroup earlier). CHMOD will allow you set EVERY attribute bit on a directory or regular file. You can set the 'h'idden, 's'ystem, 'a'rchive, 'r'ead-only bit. Setting the 'r'ead-only bit, however, doesn't make a 'read-only' directory which would be very desirable. This is a limitation of DOS rather than CHMOD. It seems DOS only checks the attribute of the file you're about to delete rather than any attributes set for the parent directory. So, just change all the files in the sub-directory with: CHMOD +r *.* . Simple enough! Now, once these files and subdirectories are hidden, all programs like DPATH, SEARCH, and other such beasts can find the all of the files and subdirectories with no problem. I've 'uncluttered' my 10mb disk's root directory and it drives clients buggy that they can't 'see any files on on the disk!' Using 1-Dir or other superdirectory programs makes the files and directories easily visible. I set one of the directories will every attribute A,D,S,H,R. Different! Only draw back is, of course, you can't modify the 'd'irectory bit. Highly recommended... Please contact the author. The CHMOD programs comes with MSC V4.0 source, .EXE, and .DOC file. The author: Gene Cohler Newman Lab, Cornell University, Ithaca, New York, 14853 cohler@tcgould.tn.cornell.edu jbvy@cornella.bitnet Enjoy, Alan "Remember to always keep an open mind. But, not so open so that your brains fall out!" ================================================= alan i. vymetalik uucp: {allegra,seismo}!rochester!ritcv!iav1917 =================================================