0
Thanks

A few words of thanks would be greatly appreciated.

Attrib Command Syntax




Whats with the x and a options?

Attrib Command Syntax:

attrib [+r|-r] [+s|-s] [+h|-h] [+c|-c] [filename]
  • +r = This assigns the read-only file attribute to the file or directory.
  • -r = This removes the read-only attribute.
  • +s = This assigns the system file attribute to the file or directory.
  • -s = This removes the system attribute.
  • +h = This assigns the hidden file attribute to the file or directory.
  • -h = This removes the hidden attribute.
  • +c = This assigns the compressed file attribute to the file or directory.
  • -c = This removes the compressed attribute.
  • filename = This is the file or directory that you are wanting to change the attributes of.


Thanks to xpcman for this tip on the forum.
0
Thanks

A few words of thanks would be greatly appreciated.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
This document, titled « Attrib Command Syntax », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).

0 Comments