Monday, July 6, 2015

Displays, sets, or removes the read-only, archive, system, and hidden attributes assigned to files or directories. Used without parameters, attrib displays attributes of all files in the current directory.

+r Sets the read-only file attribute.
-r Clears the read-only file attribute.
+a Sets the archive file attribute.
-a Clears the archive file attribute.
+s Sets the system file attribute.
-s Clears the system file attribute.
+h Sets the hidden file attribute.
-h Clears the hidden file attribute.
/s Applies attrib and any command-line options to matching files in the current directory and all of its subdirectories.
/d Applies attrib and any command-line options to directories.
/? Displays help at the command prompt.

Ex : attrib -s -h /s /d

0 comments:

Post a Comment

Popular Posts

Recent Posts

Recent Posts Widget

Instagram

Followers

Video

Widget