
windows隐藏文件夹

Almost anyone knows how to make a “hidden” folder in Windows, but then again almost anyone knows how to make explorer show hidden folders. Let’s take a look at how to make a folder so hidden, only you will know its there.
几乎所有人都知道如何在Windows中创建“隐藏”文件夹,但是几乎所有人都再次知道如何使资源管理器显示隐藏文件夹。 让我们看一下如何使文件夹如此隐藏,只有您在那里知道它。
Anyone that has used Windows for a while knows that they can right-click on a file or folder and edit its properties, more so its attributes to make it a so called “hidden” file or folder. The problem is that just as many people know you can show files and folders that have the “hidden” attribute by simply changing a radio button under the folder view options. The easiest way to make a real hidden file or folder is to mark it as an important operating system file, that way Windows won’t display it even if explorer is set to display hidden files and folders.
使用Windows已有一段时间的任何人都知道他们可以右键单击文件或文件夹并编辑其属性,更重要的是,可以使用其属性将其设置为所谓的“隐藏”文件或文件夹。 问题是,正如许多人知道的那样,只需更改文件夹视图选项下的单选按钮,即可显示具有“隐藏”属性的文件和文件夹。 制作真实的隐藏文件或文件夹的最简单方法是将其标记为重要的操作系统文件,即使资源管理器设置为显示隐藏的文件和文件夹,Windows也不会显示该文件。
To do this we need to launch a command prompt, so press the Win + R key combination and type cmd then hit the enter button.
为此,我们需要启动命令提示符,因此按Win + R组合键并键入cmd,然后按Enter键。

Now we are going to use the attrib command, so go ahead and type a command similar to the following (you’ll need to substitute the path to your own folder here).
现在我们将使用attrib命令,因此继续输入类似于以下命令(您需要在此处将路径替换为您自己的文件夹)。
attrib +s +h “C:\Users\Taylor Gibb\Desktop\Top Secret”
attrib + s + h“ C:\ Users \ Taylor Gibb \ Desktop \ Top Secret”
You will need to replace the stuff in quotes to an absolute path of a folder or file on your system that you want to make hidden.
您需要将引号中的内容替换为您要隐藏的系统上的文件夹或文件的绝对路径。

Now if I go look for the Top Secret folder on my Desktop it is gone, even with explorer set to show hidden files and folders.
现在,如果我在桌面上查找“最高机密”文件夹,即使资源管理器设置为显示隐藏的文件和文件夹,该文件夹也已消失。

To unhide the file or folder you can run the same command, except this time use “-“ instead of the “+” signs.
要取消隐藏文件或文件夹,您可以运行相同的命令,但这次使用“-”代替“ +”号。
attrib -s -h “C:\Users\Taylor Gibb\Desktop\Top Secret”
attrib -s -h“ C:\ Users \ Taylor Gibb \ Desktop \ Top Secret”

Like magic, my folder appeared again.
就像魔术一样,我的文件夹又出现了。

警告 (Warning)
While this method will catch 99 percent of people, if I knew for a fact that there was a hidden folder on a system that I was looking for there are many ways that will expose the folder. The easiest would be to make explorer show operating system files, which can be done through the same interface as showing hidden files.
尽管此方法可以捕获99%的用户,但是如果我知道我正在寻找的系统上存在一个隐藏文件夹的事实,那么有很多方法可以公开该文件夹。 最简单的方法是使资源管理器显示操作系统文件,这可以通过与显示隐藏文件相同的界面来完成。

Although any ordinary user who un-checks the box will most probably be scared off by the warning message that appears.
尽管取消选中该框的任何普通用户很可能会被出现的警告消息吓倒。


Hope this was informative, now go hide all your things.
希望这是有益的,现在隐藏所有内容。
翻译自: https://www.howtogeek.com/104825/make-a-super-hidden-folder-in-windows-without-any-extra-software/
windows隐藏文件夹