G22QC@CUNYVM (12/13/90)
Can anyone tell me how to hide a directory? Could Dos do it? Maybe some utilities programs like PcTools 6.0 ? Thanks in advance. ------- Eddie Wu {* G22QC@CUNYVM.CUNY.EDU *} *********
ts@uwasa.fi (Timo Salmi) (12/14/90)
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
dcc@hpopd.pwd.hp.com (Daniel Creswell) (12/20/90)
Hi I have a little program called 'chmod' (are you familiar with UNIX?) which does that job quite nicely. It'll also let you play with the archive bit and the read bit etc... Get back to me if you wanna know more Dan C. (HP Pinewood UK - Big Blue's little brother)