TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Why are hidden files with a leading tilde treated as super-hidden?

91 点作者 abhinickz将近 8 年前

10 条评论

andrey_utkin将近 8 年前
Violation of orthogonality of design. <a href="http:&#x2F;&#x2F;www.catb.org&#x2F;esr&#x2F;writings&#x2F;taoup&#x2F;html&#x2F;ch04s02.html#orthogonality" rel="nofollow">http:&#x2F;&#x2F;www.catb.org&#x2F;esr&#x2F;writings&#x2F;taoup&#x2F;html&#x2F;ch04s02.html#ort...</a>
评论 #14436030 未加载
评论 #14435779 未加载
userbinator将近 8 年前
<i>That&#x27;s why you have to disable &quot;Hide protected operating system files&quot; in order to see them.</i><p>One of the settings, along with hiding the file extensions, that I <i>always</i> disable without exception.
officialchicken将近 8 年前
Legacy compatibility reasons, I presume. I know this worked to super-hide files with NT 3.5x&#x2F;4 and Win-9x or used when copying files by those OS&#x27;s. And I&#x27;m fairly certain that it existed for &quot;temporary&quot; files with MS-DOS 6.x and 5.x too, maybe even earlier version. Are there any MS-DOS 2.x &#x2F; pre lan-manager pros on HN who know how long this has been around?
评论 #14435543 未加载
amluto将近 8 年前
One might argue that the correct fix is to remove the concept of super-hidden files entirely. For backwards compatibility, just never report that a file is super-hidden.<p>Normal users don&#x27;t see hidden files, so normal users are served well. Users who want to see the complete list of files (to clean up garbage, notice crap left behind by malware, fix problems caused by leftover malware, etc) probably want to see files that start with ~.<p>Alternatively, the options could be &quot;hide hidden files&quot;, &quot;show hidden files but not protected operating system files&quot;, and &quot;show all files, even protected operating system files&quot;, rather than having separate, confusing controls.
drinchev将近 8 年前
Okay, so who decided on that? Is it a PM or a developer? What&#x27;s their reasons and why didn&#x27;t they document it?<p>Do I have other &quot;invisible&quot; files around that I can&#x27;t see?
评论 #14435915 未加载
UnoriginalGuy将近 8 年前
Backwards compatibility.<p>Older versions of the Office suite used ~ files as locks. New versions flag those same files as hidden and system, so Microsoft hacked in a compatibility fix for old versions of Office to mark all ~ files similarly automagically.
youdontknowtho将近 8 年前
I love all the comments here about &quot;how could this be?&quot;<p>Repeat after me...There is no magic. There is no perfect.<p>This software was used by hundreds of millions, if not billions, of people. They got work done with it. Think your favorite pile of C code is &quot;more correct&quot; or &quot;more sublime&quot;? Maybe. By many measures of successful that doesn&#x27;t matter. And that&#x27;s why those &quot;it will be perfect this time&quot; rewrites of UNIX&#x2F;Linux aren&#x27;t in use and Unix&#x2F;Linux is.
评论 #14437121 未加载
bsenftner将近 8 年前
Interesting personification of Explorer. One might think it were a person the way it is described.
评论 #14435692 未加载
dorianm将近 8 年前
So, how do we fix it?
评论 #14435565 未加载
评论 #14435593 未加载
stevebmark将近 8 年前
How could this be in the core of an OPERATING SYSTEM? At one of the largest software manufacturers in the world? I legitimately do not understand.
评论 #14436243 未加载
评论 #14436465 未加载