ITsVISTA
Information that makes life easier when it comes to installing, managing, and using Windows Vista.
Start About FAQ Blogroll Shop

Vista's ATTRIB Command

Displays or changes file attributes.

ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [+I | -I] [drive:][path][filename] [/S [/D] [/L]]

+
Sets an attribute.
-
Clears an attribute.
R
Read-only file attribute.
A
Archive file attribute.
S
System file attribute.
H
Hidden file attribute.
I
Not content indexed file attribute.
[drive:][path][filename]
Specifies a file or files for attrib to process.
/S
Processes matching files in the current folder and all subfolders.
/D
Processes folders as well.
/L
Work on the attributes of the Symbolic Link versus the target of the Symbolic Link

Get notified of new posts for FREE via RSS or E-mail

Subscribe to ITsVISTA!

Related Posts

Comments

  • someone

    Apr 23, 2007 at 6:35 pm

    What’s the N attribute do?

  • Joe

    Apr 24, 2007 at 3:15 pm

    The N attribute (which the ATTRIB command doesn’t appear to recognize) is for ‘Not Content Indexed’.

  • Sandy Jeakins

    Sep 16, 2007 at 12:37 am

    Hi,

    It appears to me that the DOS commands in Vista do not work on system files. Any feedback?

    Sandy

  • hfrmobile

    May 1, 2008 at 2:49 am

    It seems that the ‘N’ attribute (File Explorer) is the same like ‘I’ attribute (ATTRIB command )

    “Not content indexed file attribute”

    Yes, it will not work on system files. I am sorry, I don’t know when this attribute is set/removed etc. (found no rules, when the indexing service may sets/removes this attribute)

    But why has M$ used two “names” for one new attribute (N, I, …)!?

Leave a Comment