Hidden folder from command line

Hidden folder from command line

最近有吴彦祖提到想把自己电脑上的学习资料隐藏起来,今天分享一个使用命令行隐藏文件夹的方法。

1. pre

For example, hide the following资料folder
directory:E:/AA__Test/资料

1

2

Entercmd in the search bar of the current folder and press Enter.

2.1
2.2

3

Enter the command line interface

3.1

Enter the commandattrib 资料 +s +h and press Enter.

3.2

At this time, the folder directory is refreshed and the data folder is hidden. Hidden items will not be displayed even if you open them in the view bar.

3.3

Enter the commandattrib 资料 -s -h and press Enter, the hidden folder will be displayed.

3.4

4. Summary

Hide command:attrib 文件名 +s +h
Show command:attrib 文件名 -s -h

Guess you like

Origin blog.csdn.net/weixin_55488173/article/details/130284355