Set system attribute from command line

by admin on July 12, 2009

We can set system attribute for a file from command prompt. See the syntax below.

attrib +S filename

Example:

C:\>attrib 1.exe
A          C:\1.exe
C:\>attrib +S 1.exe
C:\>attrib 1.exe
A  S       C:\1.exe
C:\>

Leave a Comment

Previous post:

Next post: