home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frostbyte's 1980s DOS Shareware Collection
/
floppyshareware.zip
/
floppyshareware
/
USCX
/
DOSUT-09.ZIP
/
CHMOD.DOC
< prev
next >
Wrap
Text File
|
1984-01-01
|
768b
|
25 lines
The CHMOD command allows the user to change the attribute bytes
associated with a file on the disk. The ones that you can change are:
n - normal file (what most of them are)
r - READ-ONLY (list on the directory, but can not be deleted
unless change it back to NORMAL)
h - HIDDEN (won't list on a DIR command - you must remember
that it is there and change it back to NORMAL to
manipulate it)
a - set the ARCHIVE bit
The format of the command is
chmod filename attribute
Example
chmod command.com r ; Prevent the command file from being
deleted
chmod command.com na ; reset back to NORMAL and set the
ARCHIVE bit
chmod private.txt h ; HIDE my file so no one can see it