本文介绍了Windows File Explorer在世界范围内如何按名称排序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一次,我想让Microsoft的某人说:这看起来很奇怪.看来您可能会丢失文件.为此,我会记录一个错误."

Just once I'd like someone from Microsoft to say, "That seems weird. It looks like you might lose your files. I'll log a bug for that."

5在哪个宇宙中排在4之前?

In what universe does 5 come before 4?

推荐答案

@RaymondChen提供的 Windows机密:排序的演变:

Courtesy @RaymondChen's Windows Confidential: The Evolution of Sorting:

在Windows XP中,Microsoft更新了Windows资源管理器排序算法,使其更符合正常人的期望.它将文件名中的数字视为数字,而不是字符序列.尽管这种改进对大多数人来说都是很好的选择,但是在某些情况下,这种更改会带来一些惊喜.

In Windows XP, Microsoft updated the Windows Explorer sorting algorithm to be more in line with what normal human beings expect. It treated digits in file names as numbers instead of sequences of characters. While this improved sorting for most people, there were cases where this change resulted in some surprises.

一个经常出现的例子是包含十六进制值的文件名.在基于数字的新排序方式下,Windows资源管理器假定名为"1040A"的文件应排在"1040"之后,而在名为"103F2"的文件中则不远. 如果出于某种原因习惯于查看包含名称为十六进制值的文件的文件夹,则可以将策略设置为在Windows资源管理器中关闭数字排序." 与Windows XP之前的Windows版本相同,即逐个字符.

One example that recurred frequently was file names containing hex values. Under the new number-based sorting, Windows Explorer assumed that a file named "1040A" should sort slightly after "1040," and nowhere near a file named "103F2." If for whatever reason you’re in the habit of viewing folders full of files whose names are hex values, you can set the policy "Turn off numerical sorting in Windows Explorer." This policy changes sorting back to the way it was in versions of Windows prior to Windows XP—namely, character-by-character.

具有讽刺意味的是,这被称为"直观文件排序".当Windows XP中引入该功能时.可以通过设置本地策略(如上突出显示的)或通过编辑注册表将其关闭-请参见如何在Windows资源管理器中启用或禁用数字排序.

Ironically enough, this was known as "intuitive file sorting" when the feature was introduced back in Windows XP. It can be turned off by setting local policies (as highlighted above) or by editing the registry - see How to Enable or Disable Numerical Sorting in Windows Explorer.

这篇关于Windows File Explorer在世界范围内如何按名称排序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-03 11:37