We can clear read-only attribute of a file from command line using attrib command.
Example:
The above command will remove read-only attribute for the file example.doc.
Adding users from command line is much easier than going through the UI. It saves…
Do you want to delete a directory from Windows command prompt(CMD)? This post explains how…
We can kill a process from GUI using Task manager. If you want to do…
Chrome is definitely the stable browser compared to other ones and it has been my…
Windows has multiple command line utilities that can help find the version of the Windows…
There are multiple ways to check whether a Windows computer is running 32-bit OS or…
View Comments
and to see full reference of the command type
attrib /?
frustratingly it won't remove read only from hidden files, and it won't remove hidden from system files OR remove system from hidden files.
so basically if any files have 2 of any attribute, they are stuck lol.
you can do it the following way
to remove read only from hidden files:
attrib -R +H filename
to remove readonly from system files
attrib -R +S filename
See the below for more info.
Not resetting hidden file
Not resetting system file
attrib /?
attrib -R +H +S filename use this command