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:\>
Windows XP, Windows 7, Server 2008, Vista command line tips
We can set system attribute for a file from command prompt. See the syntax below.
attrib +S filename
Example:
Previous post: Launch disk cleanup tool from command line
Next post: Launch Paint from command line