attrib command

Definition of attrib command in The Network Encyclopedia.

Sponsor: Geeky T-Shirt: No, I Will Not Fix Your Computer (Amazon)

What is Attrib Command?

A Microsoft Windows command that can be used to display and modify the attributes of files and directories. You can use the attrib command to display and modify the archive, system, hidden, and read-only attributes that can be assigned to files and directories. For example, if you need to manually modify the boot.ini file on a machine running Windows NT, you can use the attrib command to remove its read-only, hidden, and system attributes.

Attrib Command example

attrib –r –h –s boot.ini

The above command removes the read-only, hidden, and system attributes from the boot.ini file, allowing you to manually edit the file.