3 Easy Methods for Changing File Attributes in Windows 10 or 11

You can personalize and arrange your files and folders to suit your preferences by changing the file attributes in Windows 10 or Windows 11. You can make some files read-only, hide or show them, or set them as system files by modifying the file attributes. The various file attributes and how to modify them in Windows 10 or Windows 11 will be covered in this article.

What Are File Attributes?

File attributes are the characteristics and behaviors of a file or folder that are described by its properties. Common file attributes include things like:

  • Read-only: This characteristic forbids any file modifications.
  • Hidden: This attribute prevents File Explorer from showing the file.
  • System: This attribute identifies the file as a system file, which is a type of file that is used by the operating system and typically cannot be changed.
  • Archive: This feature lets users know when a file has been modified and should be backed up.

How To Change File Attributes In Windows 10 or Windows 11

In Windows 10 or Windows 11, you can modify file attributes in a number of different ways. Here are a few of the most popular techniques:

Method 1: Using The File Explorer

  1. By selecting the folder icon in the taskbar, the File Explorer will be displayed.
  2. Find the file or folder whose properties you want to modify.
  3. Select “Properties” from the context menu after performing a right-click on the file or folder.
  4. Navigate to the “General” tab in the Properties window.
  5. The boxes next to the attributes that you want to set or remove can be checked or unchecked. For instance, select the “Read-only” box to make the file read-only. Check the “Hidden” box if you want the file to be hidden.
  6. To save the changes, click the “Apply” button.

Method 2: Using The Command Prompt

  1. By pressing Windows key + R and entering “cmd” in the Run window, you can launch the Command Prompt.
  2. Find the file or folder whose attributes you want to change in its folder. The “cd” command can be used to switch directories. For instance, you can type “cd C:\Users\Username\Documents” and press Enter to open a file that is located in the “C:\Users\Username\Documents” folder.
  3. To modify a file or folder’s attributes, type the following command:
attrib +r +h +s filename

Put the file’s or folder’s name in place of “filename.” The read-only attribute is added with the “+r” option, the hidden attribute is added with the “+h” option, and the system attribute is added with the “+s” option. An attribute can be eliminated by changing the “+” to a “-” sign. For instance, you can use the “-r” option to remove the read-only attribute.

  1. To make the modifications, press Enter.

Method 3: Using The File Properties Shortcut

  1. Choose “Create shortcut” from the context menu when you right-click on the file or folder whose attributes you want to modify.
  2. To access the context menu, right-click the shortcut and choose “Properties.”
  3. Navigate to the “Shortcut” tab in the Properties window.
  4. The “Change Icon” button should be clicked.
  5. The icon you want to use for the shortcut should be selected in the Change Icon window before clicking “OK.”
  6. To save the modifications, press the “Apply” button.

Conclusion

You can personalize and arrange your files and folders to suit your preferences by changing the file attributes in Windows 10 or Windows 11. You can quickly set or change the read-only, hidden, or system attributes of your files and folders by using the File Explorer, Command Prompt, or File Properties shortcut. These techniques can help you better organize your computer and can greatly improve your file management abilities.

Computerbin
As the founder and owner of this website, I am an enthusiastic computer software and hardware enthusiast who takes pleasure in troubleshooting and solving computer-related problems. With MTech & BTech degrees in Computer Science & Engineering under my belt, I have worked in this field for over 12 years now. Through my career I have acquired a vast amount of knowledge regarding various computer topics such as software, hardware, and programming - knowledge which I love sharing with others to help people gain more insight into this exciting world of computers!