Attrib

Attrib

attrib is a command, in MS-DOS, OS/2 and Microsoft Windows. The function of attrib is to set and remove file attributes (read-only, archive, system and hidden). These attributes are used by a wide variety software to protect and classify files. [cite web |url=http://www.xxcopy.com/xxcopy06.htm |title=XXCOPY Technical Bulletin #06 |accessdate=2007-08-02 |last=Yabumoto |first=Kan |date=2000-01-17]

Many users regularly encounter the read-only attribute, which will prevent most software from allowing the user to overwrite or append to a file. Software can be designed to override this option, often after receiving confirmation from the user. The archive attribute is used by various backup and file copy programs as a hint as to whether a file needs to be backed up. [cite web |url=http://www.pcmag.com/encyclopedia_term/0,2542,t=DOS+Attrib&i=41730,00.asp |title=DOS Attrib |accessdate=2007-08-02 |work=Encyclopedia |publisher=PC Magazine ] The hidden attribute makes affected files invisible in many programs, although a variety of software, especially software designed for listing, viewing, and searching files, allows hidden files to be made visible, often with a notation that they have been designated as hidden. The system attribute is used to designate certain operating system files and affects the operation of most software less than the other attributes.

Particularities

In certain versions, when both the s and h attributes are set, they can only be removed at the same time. To remove only one, they must both be removed at the same time, and then the desired attribute must be set.

Undocumented features

If a comma is typed directly after the command's name (for example, attrib, *.txt), all attributes will be removed from the targeted files (in this case, all .txt files in the folder). In most versions, if a target isn't specified, then all attributes will be removed from the folder currently being browsed in DOS.

References

See also

* cacls MS-Windows NT filesystem ACL control utility
* chattr Unix/Linux equivalent
* List of DOS commands


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • attrib — abbrev. attributive * * * …   Universalium

  • attrib. — attrib. (attribute) n. trait, property, quality …   English contemporary dictionary

  • attrib — abbrev. attributive …   English World dictionary

  • attrib — La commande Windows attrib, de l anglais attribution, permet de modifier les propriétés des programmes. Elle est équivalente à certaines options des propriétés sur clic droit du fichier. Sommaire 1 Utilisation 2 Exemples 3 Notes et références …   Wikipédia en Français

  • attrib. — 1. attribute. 2. attributive. 3. attributively. * * * abbrev 1. Attributed 2. Attributive 3. Attributively * * * attrib., 1. a) attribute. b) attributed …   Useful english dictionary

  • attrib — abbreviation attributive; attributively …   New Collegiate Dictionary

  • attrib. — 1. attribute. 2. attributive. 3. attributively. * * * …   Universalium

  • attrib. — abbr. attributive, ly …   Dictionary of abbreviations

  • attrib. — 1) gram. attribute 2) gram. attributive 3) gram. attributively …   From formal English to slang

  • attrib. — 1. attribute. 2. attributive …  

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”