chmod—Change File Mode

The chmod command is an alternative to the ATTRIB command. It allows you to change the attributes (file mode) of one or more files. It can process hidden and system files in addition to ordinary files.

Unlike ATTRIB for DOS and OS/2, chmod treats a read-only file as lacking the ``write'' capability rather than having the ``read-only'' capability.

The Win32 version of chmod will change the specified attributes of matching directories. The DOS and OS/2 versions of chmod ignore matching directories.



Subsections