Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!news.funet.fi!uwasa.fi!ts From: ts@uwasa.fi (Timo Salmi) Newsgroups: comp.os.msdos.apps Subject: Re: How to hide a directory? Message-ID: <1990Dec13.213627.28208@uwasa.fi> Date: 13 Dec 90 21:36:27 GMT References: <90347.102617G22QC@CUNYVM.BITNET> Organization: University of Vaasa Lines: 34 In article <90347.102617G22QC@CUNYVM.BITNET> G22QC@CUNYVM writes: >Can anyone tell me how to hide a directory? Could Dos do it? ... rest deleted ... An extract from /pc/ts/tsfaq15.arc (available by anonymous ftp eg from uwasa.fi archives.) 20. ***** Q: How can I hide files and directories? A: Each MSDos file has a set of attributes: read-only, archive, system, and hidden. You can hide both files and directories by turning on their hidden attribute. The usual MsDos attrib command can only change the read-only and archive attributes, so you'll need a program that can change all the attributes. One such facility is attr.com that is contained in the /pc/pd2/cpcug.zip collection available by anonymous ftp or mail server from uwasa.fi archives. Some users have suggested naming a directory as ascii 255, but this is non-solution, since the directory will show as blank by the usual dir command. A file, or a directory that has the hidden attribute set, does not show in a directory listing by MsDos dir command. Notice, however, that there are many facilities which will show also the hidden files. This means that these methods are good for elementary hiding only. For more advanced protection you need different tools. One possibility is crypting files. There are many crypting facilities around including my crypter.exe in the /pc/ts/tsfcom23.arc file utilities collection available from uwasa.fi archives. ................................................................... Prof. Timo Salmi (Moderating at anon. ftp site 128.214.12.3) School of Business Studies, University of Vaasa, SF-65101, Finland Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun