Skip to main content
attrib

attrib

9.9
A command in Windows and MS-DOS that shows and changes file properties like read-only or hidden
  • noun
  • /ˈætrɪb/
  • Specialized
translation icon : attrib
  • The attrib utility allows users to hide or unhide files in Windows.
  • ATTRIB command

Examples

  • You can use the attrib command to change file settings.

  • He typed attrib -h filename to remove the hidden attribute from the document.

  • To make a file read-only, use the attrib command in the command prompt.

  • What does the attrib command do?

  • To make a file hidden, you can use the command attrib +h followed by the file name in the command prompt.

  • The attrib command allows you to change a file's status to read-only, preventing accidental modifications.

  • If you want to ensure your files are not visible, use the attrib command with the +h option.

Surface Forms

attrib singular
attribs plural

Etymology

Attrib is the short form of attribute, which means a file 'property' like 'hidden' or 'read-only'. So the attrib command is named for showing or changing those file properties.