Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the solution when the properties of hidden files or folders in the windows system cannot be modified to gray?

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This issue of the content of the editor will bring you about the windows system hidden files or folder properties can not be modified into gray solution is how, the article is rich in content and professional analysis and description for you, after reading this article, I hope you can get something.

For problems where hidden files or folders cannot be displayed, solutions have been given before and will not be repeated. Then there is the question:

You can show hidden files, but you cannot remove hidden properties from hidden files or folders. Because when you right-view the file properties, you can see that the hidden properties are gray, and the previous ticks cannot be removed. This situation is mostly caused by the U disk virus.

Hiding file or folder properties cannot modify solution one:

1. Enter the "start" menu, select "run" and enter "cmd" to enter the command prompt window.

2. Enter the drive letter to enter the partition in question, such as "H:" (no quotation marks).

3. Type the following command to remove the hidden attributes of all files and folders under the current partition:

Attrib / s / d-s-h

Or

Attrib *. *-s-h / s / d

If you just need to modify the hidden properties of individual folders, you can use the following command:

Attrib Drive:\ Path\ "File Name"-s-h

Solution 2:

Use batch files. The code is as follows:

@ echo off

Title modifies the hidden properties of a file

Mode con: cols=30 lines=10

Attrib *.-r-s-h / s / d

Echo.

Echo processed successfully, please press any key to exit!

Pause > nul

Copy the above code to notepad and save it as a bat file. Put the file in the folder or root directory where you need to change the hidden properties, and double-click to run it automatically.

Attrib command format:

Format:

ATTRIB [+ R |-R] [+ A |-A] [+ S |-S] [+ H |-H] [[drive:] [path] filename] [/ S [/ D]]

Attrib command attributes are explained in detail:

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

/ D processes folders.

+ set properties.

-clear the attribute.

R read-only file properties.

An Archive file properties.

S system file properties.

H hides file properties.

[drive:] [path] [filename] specifies the file attributes to be processed.

The above is the solution that hidden files or folder properties cannot be modified into gray in the windows system shared by Xiaobian. If you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report