Also found in: Dictionary, Acronyms, Wikipedia.


An external command in DOS and Windows that displays and changes the attribute settings in every file. The A, H, R and S bits are 1=yes and 0=no.
File Attributes
     A - Archived (backed up?)
     H - Hidden file
     R - Read only
     S - System file

To display the current attributes in all files in the current folder, type:
attrib *.*     files only
    attrib *.* /s  files & subfolders

When a file is read-only, it cannot be changed or deleted. To set and reset VITAL.TXT, type:
attrib vital.txt +r   set to read-only
 attrib vital.txt -r   reset to read/write

New files are set to archive status (archive bit is on). When files are copied by the Xcopy command, the archive bit is turned off (0) on the original file and not turned on again (1) until the file has been modified by some application. The following example removes and restores the archive status in XYZ.TXT.
attrib xyz.txt -a   turn off
   attrib xyz.txt +a   turn back on

To back up only modified files, the /m switch is used with the Xcopy command. After copying, the archive bit on the original file is turned off (set to zero). For example, to Xcopy only modified files to the BACKUP folder in drive D, type the following (for more examples, see Xcopy).
xcopy *.* d:\backup /m

These attributes are assigned to operating system files and some files that applications generate. As a rule, users do not tamper with them.
attrib xyz +s   make XYZ a system file
 attrib xyz -s   clear system file status

 attrib xyz +h   make XYZ a hidden file
 attrib xyz -h   clear hidden status
References in periodicals archive ?
After you've done all that you can type attrib -r -h -s c: \.
The ATTRIB construct is conceptualized as the patient's subjective evaluation of whether the self or the provider (patient/hospital) is to blame for the dissatisfaction.
We remove such files as ATTRIB, FORMAT, and nearly anything else.
Other commands that have been significantly enhanced include ATTRIB and MEM.
ments attrib who do no The rea such as Nig and Jay-Jay questioned i
9] This is accomplished by typing attrib +r program-name and pressing the Enter key.
com) 1,460 -- 1,478 -- Total cost of revenues 13,895 2,178 23,755 3,656 Sales and marketing 16,864 3,906 31,832 7,496 General and administrative 9,328 2,634 16,200 3,999 Product development 5,540 1,410 9,132 2,587 Amortization of goodwill/other intangibles 16,733 -- 24,567 -- Acquisition-related compensation 400 -- 2,200 -- Write-off of acquired technology -- -- 7,650 -- Total operating expenses 62,760 10,128 115,336 17,738 Loss from operations (47,737) (8,071) (90,362) (14,495) Other income (expenses) and minority interest, net (160) 111 (79) 127 Net loss (47,897) (7,960) (90,441) (14,368) Stock dividend -- (14,556) -- (14,556) Net loss attrib.
01 Table 4 SBDC Start-Up Correlation Matrix (N = 2229) Subjective Measures Attributio n Measures Attrib Benefit Consult Recommend Strategic Sales Subjective Benefit X .