• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

3. Components > Attrib

Name

Attrib — \windows\system32\attrib.exe

Synopsis

Attrib allows you to change the file and folder attributes from the command line, settings otherwise only available in a file's or folder's Properties window. The attributes can be thought of as switches, independently turned on or off for any file or group of files. Attrib is used as follows:

attrib [+r|-r] [+a|-a] [+s|-s] [+h|-h] [filename]

Option

Description

r

(read-only) Turn on the read-only attribute of a file or folder to protect it from accidental deletion or modification.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint