Set read-only attribute from command line
Saturday, October 3, 2009
Leave a Comment
We can mark a file as read-only from command line too. Command for this is given below.
attrib +R filename
Example:
attrib +R file.doc
The above command will set the read only attribute forthe file file.doc and user will not be able to do modifications to the file.
0 comments »
Leave your response!