Share via

Read Only Attrib CMD doesn't work

Anonymous
2010-03-16T16:53:13+00:00

I want to remove the Read Only attribute from my own folders.  (One new software won't use any folder on my 2nd hard drive.  It gives me the message that temporary files can't be written to the folder because it's Read Only.)

I followed instructions for Win 7 on http://support.microsoft.com/kb/326549  to remove the Read Only command on folders which I created:

At the command prompt, I triedboth : **attrib -r +s drive:<path><foldername>**and

attrib -r -s drive:<path><foldername>

Each time I got: "Parameter format not correct -"

Is there anything else I can do?

Thanks.

Windows for home | Previous Windows versions | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2010-03-17T14:19:32+00:00

Hey KJS4,

Which software you are referring to?

Make sure that you type the right command in the command prompt.

Also check if you have full control over the folders so that you can change the attributes.

Right-click the folder and select Properties.

Click on the Security tab.

Click Advanced in the lower right.

In the Advanced Security Settings window that pops up, click on the Owner tab.

Click Edit.

Click Other users or groups.

Click Advanced in the lower left corner.

Click Find Now.

Scroll through the results and double-click on your current user account.

Click OK to all of the remaining windows except the first Properties window.

Select your user account from the list up top and click Edit.

Select your user account from the list up top again and then in the pane below, check Full control under Allow, or as much control as you need.

You’ll get a security warning, click Yes.  

Regards,

Savan - Microsoft Support.

Was this answer helpful?

6 people found this answer helpful.
0 comments No comments

9 additional answers

Sort by: Most helpful
  1. Anonymous
    2010-09-16T05:28:59+00:00

    When a folder name contains spaces, enclose the entire path in double quotes:

       attrib - r "C:\Program Files"


    Boulder Computer Maven

    Microsoft Most Valuable Professional

    Was this answer helpful?

    20+ people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2014-03-23T20:27:01+00:00

    Hey KJS4,

    Which software you are referring to?

    Make sure that you type the right command in the command prompt.

    Also check if you have full control over the folders so that you can change the attributes.

    Right-click the folder and select Properties.

    Click on the Security tab.

    Click Advanced in the lower right.

    In the Advanced Security Settings window that pops up, click on the Owner tab.

    Click Edit.

    Click Other users or groups.

    Click Advanced in the lower left corner.

    Click Find Now.

    Scroll through the results and double-click on your current user account.

    Click OK to all of the remaining windows except the first Properties window.

    Select your user account from the list up top and click Edit.

    Select your user account from the list up top again and then in the pane below, check Full control under Allow, or as much control as you need.

    You’ll get a security warning, click Yes.  

    Regards,

    Savan - Microsoft Support.

    I have tried all of this, I am the owner with full permissions of my affected file and its subfolders, contents etc.

    I have used the 'attrib' cmd and as my folder had spaces enclosed the full path in ' " ' and had no errors but STILL the properties revert to 'Read Only' 

    Help...!

    Was this answer helpful?

    10+ people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2014-03-23T19:48:24+00:00

    Well, it didn't fail but it still didn't change the attrib in explorer.

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2010-09-16T04:52:52+00:00

    I have the exact same issue, and using the solution given here did not help in my case.  I have added the proper access rights to the folder (My program files).  nothing has changed, and the situation is the exact same.  other files in my C:\ drive can be changed using attrib -r c:\ <folder name>  but when I ty to change the program files folder it gives t he same error "Parameter format not correct -"

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments