Command syntax:
chmod {(+|-)attribute} [file...]file is the file or files of interest. Wildcards are accepted.
Using + before an attribute turns on the attribute. Using - turns off the attribute. The attributes are:
chmod +R myfile.exeIf no attributes are specified, chmod displays (but does not change) the file's attributes, in this form:
__A__SHR 0x27 IO.SYSMnemonic characters denote attributes that are "on"; underscored characters indicate that an attribute is "off." Thus, chmod can be handy for finding hidden and system files:
chmod *.*