Clear archive attribute from command line.

We can unset archive attribute of a file using attrib command. Syntax is given below.

attrib -a filename

Example:

attrib -a example.doc

The above command will unset archive attribute for the file example.doc