Win8 How to change the read-only or System properties of a folder

Source: Internet
Author: User

Win8 change the read-only or System properties of a folder as follows:

Normally, you can only change the read-only property of a file by right-clicking the property, and the system properties do not even have the appropriate options.

Operation Steps:

1, right click on the folder, click the "Properties" settings appear as follows:

Select the Read only (file in folder only (R)) check box, which only adds read-only properties to files in this folder, not the read-only property of this folder.

To set this folder to contain subfolders, you will have the following prompts, select as shown in the red box, and then click OK, which literally adds a read-only property to the folder and its subfolders and files, but actually verifies that this action will only add read-only properties to the files under the file.

2. If you want to set up a normal folder with read-only or System properties, you need to use the attrib command.

How do I use commands to set the read-only or System properties of a folder? Let's look at Windows instructions for the ATTRIB command:

Displays or sets the file folder properties.

The format of the directive and the commonly used parameters are:

ATTRIB [+r |-r] [+a |-A] [+s |-S] [+h |-h] [[Drive:] [path] filename] [/S [/d]]

+ Set properties.

-Clears the properties.

R read-only file properties.

A Archive file attribute.

S System file properties.

H hidden file properties.

I have no content index file properties.

[Drive:] [Path] [FileName]

Specifies the file attributes to process.

/S handles matching files in the current folder and its subfolders.

/d also processes folders.

/l handles attributes for symbolic links and symbolic link destinations.

So here's an example of how to use the attrib command by setting the 123 folder for H disk for read-only and system attributes.

1. Use the WIN+R key combination to open the run, enter "cmd" command, carriage return.

2. Enter "H:" in the command window, return to H disk, enter "attrib 123", then click "Enter" to view the folder properties, now you can see the folder is not a property.

3. Enter "attrib +r +s 123", carriage return, set 123 folder as read-only and System properties.

4. Enter "attrib 123" again, return, can view 123 folder now attribute is S,r, know its now attribute is read-only and System attribute.

Note: When you set the system properties, you will find that when you right-click this folder property, the hidden property is grayed out.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.