With the attrib command you can change the property of a file. You can make for instance hidden or read-only.

The command without parameters shows the properties of the files in the directory.

With the parameters you can set the properties.
The parameters

+ Sets an attribute. 
- Clears an attribute. 
R Read-only file attribute. 
A Archive file attribute. 
S System file attribute. 
H Hidden file attribute. 
/S Processes files in all directories in the specified path. 


C:\>Attrib +r +h *.exe

Result: all the EXE-files in the directory are read-only and hidden.