To change file attributes in Windows using Command Prompt:
attrib [+|-][ahsr] filename
Where + means enable the attribute, – means disable the attribute.
a: Archive
h: Hidden
s: System File
r: Read Only
Example:
attrib +sh filename
means make the file a hidden system file
attrib -r filename
means make the file not read only
Leave a comment