Results 1 to 6 of 6

Thread: Changing folder attributes

  1. #1
    Join Date
    Nov 2004
    Posts
    43

    Changing folder attributes

    I installed a clean Windows Vista on my one of my desktop. It is working fine so far but i have a small problem which i came to know today itself. I found many of my folders attributes set to "read only". I dont know how it happens but thats fine. Actually i want to fix them.

    While searching i found an MS article according to which can do them by running the command "attrib -r" in command prompt. But that dint worked for me at all. I am the only administrator of this system. Can anyone please tell me how can i change my folder's attributes?

    Thanks for all your helps.

  2. #2
    Join Date
    Jun 2006
    Posts
    206

    Re: Changing folder attributes

    Actually the best of changing folder's attributes is by running the command "attrib -r" in command prompt. But if dint worked for you the probably there is something in registry preventing you to change it. Here is what you need to go through to fix it:

    • Start Registry Editor (Regedit.exe).
    • Locate the following registry key:
    • HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Current Version\Explorer
    • On the Edit menu, point to New, click DWORD Value, and then type the following registry value name:
    • UseSystemForSystemFolders
    • Right-click the new value, and then click Modify.
    • Type 1, and then click OK.
    • Quit Registry Editor.
    • After you make this change to the registry, you must change the Read-Only attribute for all affected folders by using the attrib command at a command prompt (Command.com or Cmd.exe). Type attrib /? at the command prompt to view the syntax for the attrib command. For example, to change the Read-Only attribute to System for the C:\Test folder, use the following command:

    attrib -r +s c:\test

    For more info, checkout this MS KB: Unable to remove Read-Only attribute from folder

  3. #3
    Join Date
    Sep 2004
    Posts
    77

    Re: Changing folder attributes

    Hello Deffen-Baugh, as far as i think read-only attribute is probably not the causing the problems, instead it is the security permissions for that particular folder might be creating the issues. Hence to get the access permission for that folder, you need to try out the following:
    • Open the folder you want to change the attribute.
    • Right-click it and select Properties
    • Click Security Tab > Edit > Click Add
    • If you are the only one that needs modify access to this file, type your username and press enter. Otherwise, type "Users" and press enter.
    • Now click the checkbox under Allow next to Full Control and click OK.


    Remember this is applicable for Vista Ultimate, Business, or Enterprise edition.

  4. #4
    Join Date
    Oct 2004
    Posts
    39

    Re: Read Only Folder Attribute

    I am unable to follow the above directions, because, it appears I do not have permission to Edit / Add users for the folder.. Although I am the administrator. Please help me!

  5. #5
    Join Date
    Nov 2011
    Posts
    1

    Re: Changing folder attributes

    I have a question as well but it is on this same topic.

    In command prompt, how would I change the attributes of a folder if the folder's name contains two words eg "new folder". The command "attrib -s -h c:\new folder" will not work if the folder contains two word but will work if the folder's name is one word. I have very many folders with this kind of naming and I do not wish to change all their names. Is there a special notation.

    Mike

  6. #6
    Join Date
    Dec 2007
    Posts
    2,291

    Re: Changing folder attributes

    Quote Originally Posted by mytin View Post
    I have a question as well but it is on this same topic.

    In command prompt, how would I change the attributes of a folder if the folder's name contains two words eg "new folder". The command "attrib -s -h c:\new folder" will not work if the folder contains two word but will work if the folder's name is one word. I have very many folders with this kind of naming and I do not wish to change all their names. Is there a special notation.
    It is worth mentioning that if you have a two word property like text-align you would do this to define multiple CSS attributes in JQuery:
    Code:
    $("#message").css({ width: '30px', height: '10px', 'text-align': 'center'});

Similar Threads

  1. Prevent user changing ACL / folder rights
    By Cyberscrap in forum Windows Server Help
    Replies: 4
    Last Post: 03-04-2012, 01:13 PM
  2. Changing Home/User Folder under Mac
    By Ucchal in forum Operating Systems
    Replies: 6
    Last Post: 02-06-2010, 09:43 AM
  3. Changing File Attributes Using Visual Basic 6.0
    By technika in forum Software Development
    Replies: 3
    Last Post: 17-11-2009, 11:49 AM
  4. Stop Vista changing folder view automatically
    By James D. in forum Customize Desktop
    Replies: 3
    Last Post: 26-02-2009, 12:51 PM
  5. Changing folder permissions recursively/
    By BlackShuck in forum Vista Help
    Replies: 3
    Last Post: 12-12-2007, 12:52 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,639,037,296.95729 seconds with 17 queries