Set system attribute from command line

Monday, October 12, 2009 Leave a Comment

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:\>

0 comments »

Leave your response!