DOS System Utilities requires:
An IBM PC, XT, AT, PS/2 or close compatible.
256K of memory recommended.
MS- or PC-DOS 2.10 or higher.
PROGRAM OPERATION - HIDE ....8
=====================================================================
Purpose: Conceals and reveals files (either programs or data files)
from directory listings by setting the "hidden" attribute indicator
in the directory.
Syntax: HIDE filespec [filespec[...]] [/U][/L][/P][/S][/?]
filespec Drive, path and filename to hide or unhide. Drive
and path are optional; the current drive and
directory are used if none are specified.
/U Unhides the files listed. Hidden files matching the
file specification will be changed to normal
displayable files.
/L List file names, but do not hide or unhide files,
matching selection criteria.
/P Prompt for confirmation before changing any files to
hidden or unhidden.
/S Hide/unhide Subdirectory files. For example,
HIDE \MYWORK /S
will hide as the \MYWORK subdirectory's filename. To
unhide a subdirectory, use both options: /U and /S.
/? Display help message.
The are several reasons to hide files. Some of your files may
contain sensitive information that you may want to keep hidden from
casual users. Or, you may want to protect files from accidental
erasure. Hidden files can't be accidentally erased using the DEL or
ERASE command, nor can they be copied with the COPY command.
However, they can be executed (if they are programs) or TYPEd.
You can quickly and easily hide (or unhide) either a single file or a
group of files, and have HIDE prompt you for confirmation before
hiding any file, if you wish.
In addition to concealing files, HIDE allows you to conceal a
directory's name, effectively hiding all the files within that
directory, too. Hiding the name of the directory means that when a
user pulls up a directory listing by typing "DIR," the hidden
directory (or hidden subdirectory) name will not be listed -- and
without a listing it is unlikely a casual user will discover the
files contained within the hidden directory. (Just be sure to
remember the name of the hidden directory so that you can unhide it
later.) You can still change to a hidden directory, if you know the
name.
PROGRAM OPERATION - HIDE ....9
=====================================================================
HIDE may be used within a batch file to allow programs to be
unhidden, executed, then hidden again.
Normal (displayable) files matching the file specification will be
changed to hidden files (unless the /U option is specified).
"Filespec" may contain wild-card characters (* and ?). For example:
HIDE A:\WP\WORD*.*
will hide any files beginning with the 4 characters "word" in the \WP
directory of the disk in drive A.
You can, of course, simply list the files you want hidden, one after
the other (including wild-card groups), up to the DOS command line
limit of 127 characters. For example:
HIDE FILE1.TXT FILE2.LTR *.DOC
will hide these 2 text files and any file with a .DOC extension on
the current directory.
(Note: Under DOS 5.0, it is possible to display a directory listing
that includes even files marked hidden or system. Although you can
see that the file is there, you will not be able to copy it or delete
it however.)