为什么Windows资源管理器不会按名称在“临时ASP.NET文件”目录下对目录进行排序?

时间:2023-01-17 08:16:50

When I navigate to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\myfirstproject\202aebd2\f0e764e2\assembly\dl3 in Windows explorer, there are 108 folders with 8 character hexadecimal names. Explorer won't sort this folder by name (or value ). What gives?

当我在Windows资源管理器中导航到C:\ WINDOWS \ Microsoft.NET \ Framework \ v2.0.50727 \ Temporary ASP.NET Files \ myfirstproject \ 202aebd2 \ f0e764e2 \ assembly \ dl3时,有108个文件夹,其中包含8个字符的十六进制名称。资源管理器不会按名称(或值)对此文件夹进行排序。是什么赋予了?

为什么Windows资源管理器不会按名称在“临时ASP.NET文件”目录下对目录进行排序?

3 个解决方案

#1


It is sorting them by name. Unfortunately, it's using a natural sort which includes numbers. This means that 99b6... sorts before 182c..., because 99 < 182.

它按名称对它们进行排序。不幸的是,它使用的是包含数字的自然排序。这意味着99b6 ...在182c之前排序......,因为99 <182。

#2


I had this same question. I found that you can, at least in XP, set the sort order by adding a registry key. This should take care of your issue. Remember to restart Explorer. You can kill its process and then restart it through Task Manager.

我有同样的问题。我发现,至少在XP中,您可以通过添加注册表项来设置排序顺序。这应该照顾你的问题。记得重启资源管理器。您可以终止其进程,然后通过任务管理器重新启动它。

User Key: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
System Key: [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\    Explorer]
Value Name: NoStrCmpLogical
Data Type: REG_DWORD (DWORD Value)
Value Data: (1 = Windows 2000 method)

Originally found the answer here:

最初在这里找到了答案:

http://www.pctools.com/guides/registry/detail/1293/

Edit:

Looks like that answer actually comes from a Knowlege Base article.

看起来这个答案实际上来自Knowlege Base文章。

http://support.microsoft.com/kb/319827

#3


Windows can make directories backed by other directories. For instance the old-style Temporary Internet Files was backed by 4 separate directories. Knowing this I'd guess that it's sorting each directory individually instead of the aggregate.

Windows可以使目录由其他目录支持。例如,旧式的临时Internet文件由4个单独的目录支持。知道了这一点,我猜它是在单独排序每个目录而不是聚合。

#1


It is sorting them by name. Unfortunately, it's using a natural sort which includes numbers. This means that 99b6... sorts before 182c..., because 99 < 182.

它按名称对它们进行排序。不幸的是,它使用的是包含数字的自然排序。这意味着99b6 ...在182c之前排序......,因为99 <182。

#2


I had this same question. I found that you can, at least in XP, set the sort order by adding a registry key. This should take care of your issue. Remember to restart Explorer. You can kill its process and then restart it through Task Manager.

我有同样的问题。我发现,至少在XP中,您可以通过添加注册表项来设置排序顺序。这应该照顾你的问题。记得重启资源管理器。您可以终止其进程,然后通过任务管理器重新启动它。

User Key: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
System Key: [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\    Explorer]
Value Name: NoStrCmpLogical
Data Type: REG_DWORD (DWORD Value)
Value Data: (1 = Windows 2000 method)

Originally found the answer here:

最初在这里找到了答案:

http://www.pctools.com/guides/registry/detail/1293/

Edit:

Looks like that answer actually comes from a Knowlege Base article.

看起来这个答案实际上来自Knowlege Base文章。

http://support.microsoft.com/kb/319827

#3


Windows can make directories backed by other directories. For instance the old-style Temporary Internet Files was backed by 4 separate directories. Knowing this I'd guess that it's sorting each directory individually instead of the aggregate.

Windows可以使目录由其他目录支持。例如,旧式的临时Internet文件由4个单独的目录支持。知道了这一点,我猜它是在单独排序每个目录而不是聚合。