Hidden folder from command line
最近有吴彦祖提到想把自己电脑上的学习资料隐藏起来,今天分享一个使用命令行隐藏文件夹的方法。
1. pre
For example, hide the following资料
folder
directory:E:/AA__Test/资料
2
Entercmd
in the search bar of the current folder and press Enter.
3
Enter the command line interface
Enter the commandattrib 资料 +s +h
and press Enter.
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.
Enter the commandattrib 资料 -s -h
and press Enter, the hidden folder will be displayed.
4. Summary
Hide command:attrib 文件名 +s +h
Show command:attrib 文件名 -s -h