2
C:\Windows\system32>attrib -r +s C:\Users\me\Desktop\folder_name
Parameter format not correct -

I want to remove the read-only attribute off from the folder.

What is going on? I got this command off Microsoft website.

http://support.microsoft.com/kb/326549

Thank you !

5
  • What error are you getting? something like not resetting system file ? Feb 4, 2012 at 20:52
  • @Raystafarian it is stated in the body. "Parameter format not correct " Thank you.
    – CppLearner
    Feb 4, 2012 at 20:56
  • 1
    If there are spaces in your path, you need to surround it in double quotes. Feb 4, 2012 at 20:58
  • That solved my problem. You should make it an answer, Ray. Thank you.
    – CppLearner
    Feb 4, 2012 at 21:01
  • Glad I could help! Feb 4, 2012 at 21:28

1 Answer 1

4

Try attrib -r +s "C:\\Users\me\Desktop\folder_name"
If there are spaces in your path you need to surround it with double quotes

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .