了解如何在Windows 10中对文件和文件夹进行排序、分组和过滤非常重要,尤其是在您使用大量文件和文件夹的情况下。无论您多么努力地组织所有内容,有时都可能很难找到特定的项目或一组项目。这就是为什么文件资源管理器包含大量用于排序、分组和过滤文件和文件夹的选项,使用(File Explorer)Windows 10中的各种标准。本教程说明了如何在Windows 10(Windows 10)的文件资源管理(File Explorer)器中对文件夹和文件进行排序、分组和过滤,以便您更高效地管理项目和查找所需内容:
如何在Windows 10中对文件和文件夹进行排序(Windows 10)
对文件和文件夹进行排序会根据您喜欢的标准在文件资源管理器中重新排序。(File Explorer)有超过 300 个标准可用,您可以应用任何您喜欢的标准。默认情况下,在Windows 10中,您的文件和文件夹按名称(Name)或字母顺序按升序排序,(Ascending)下载(Downloads)文件夹除外,它按修改日期按(Date modified)降序(Descending)排序- 最新下载显示在顶部。
开始对文件和文件夹进行排序的一种方法是右键单击或按住文件夹内的空白区域以打开上下文菜单。然后,悬停或点击排序依据(Sort by)以显示该视图模板(view template)的四个主要排序选项。我们的文件夹使用General items模板,因此我们可以按Name、Date modified、Type和Size快速对其进行排序。单击(Click)或点击任何选项,项目将在此基础上重新排序。
您可以从文件资源管理器的(File Explorer's) “视图”(View)选项卡中显示更多选项。在当前视图(Current view)部分中,单击或点击排序依据(Sort by)。
与(Same)以前一样,显示的排序选项特定于该文件夹的视图模板。要向排序方式(Sort by)菜单添加更多条件,请单击或点按选择列(Choose columns)。
如果您使用右键单击“排序方式”(Sort by)菜单,请单击或点击“更多”(More)以添加额外条件。
这将打开“选择详细信息”(Choose Details)窗口,其中仅选择了四个主要标准。单击(Click)或点击您要使用的排序标准框,或选择一个条目,然后单击或点击右侧的“显示”(Show)和“隐藏(Hide)”按钮以添加或删除该特定排序选项。
注意:(NOTE:)您还可以选择任何排序选项,然后使用“上移”(Move Up)和“下移”(Move Down)按钮将其重新定位在列表中。
选择排序标准后,单击或点击确定(OK)。
提示:(TIP:)您添加到排序依据(Sort by)菜单的任何标准也会自动添加到下一节讨论的分组依据菜单中。(Group by)您还可以使用“视图”选项卡的“(View)当前视图(Current view)”部分中的“添加列(Add columns)”按钮来扩展或缩小现有的标准列表。除非您使用Details视图 Layout(view Layout) ,否则该按钮是灰色的。
任何新的排序选项现在都可以在排序方式(Sort by)列表的底部、右键单击上下文菜单中以及作为单独的列标题使用 - 如果您使用的是详细信息(Details)视图布局(Layout)。单击(Click)或点击它以在此基础上重新排序。
如果您从文件资源管理器的(File Explorer's)“视图”选项卡中按“(View)排序依据(Sort by)”按钮,您还可以在默认选项下找到新的排序选项。单击(Click)或点击它,文件会根据您的选择立即重新排列。
无论您使用哪种排序选项,排序结果都可以按升序(Ascending)或降序(Descending)显示。例如,当按默认名称(Name)选项排序时,升序(Ascending)表示文件和文件夹从 A 到 Z 排列,而降序(Descending)表示从 Z 到 A 对项目进行排序。如果要反转条件的顺序,可以单击或点击 (再次)在其列标题上,或从右键单击“排序方式”(Sort by)菜单中选中相应的选项,如下所示。
您还可以通过按“排序依据(Sort by)”按钮并选择您喜欢的顺序来选择将项目显示为升序(Ascending)或降序。(Descending)
或者,访问“排序依据(Sort by)”菜单并单击或点击活动排序选项也会反转项目的顺序。
如何在Windows 10中对文件和文件夹进行分组(Windows 10)
您还可以使用Windows 10文件资源管理器(File Explorer)中的不同标准对文件和文件夹进行分组。这会将文件夹中的所有项目组织起来,根据您选择的详细信息将它们分成单独的部分。默认情况下,Windows 10中的项目不属于任何类别,唯一的例外是:
- 下载(Downloads)- 按修改日期降序分组,以帮助(Date modified)您(Descending)在顶部找到最新下载的项目。
- 这台电脑(This PC)- 按类型(Type)按升序(Ascending)分组。此位置具有不同的排序和分组选项。
- 网络(Network)- 按类别升序(Category)分组(Ascending)。此位置还带有与其他文件夹不同的排序和分组选项。
右键单击或按住要对其内容进行分组的文件夹内的空白区域。在上下文菜单中,悬停或点击Group by以显示该文件夹的四个主要分组选项。显示的类别因每个文件夹的视图模板而异。单击(Click)或点击任何显示的标准以在此基础上对项目进行分组。
例如,我们想按Type对 media files 文件夹的内容进行分组。单击或点击类型(Type)可以对我们媒体文件夹中的文件提供不同的视角,如下所示。
您还可以从文件资源管理器的“查看”选项卡中对文件和文件夹(File Explorer)进行(View)分组。单击(Click)或点击“当前视图(Current view)”部分中的“分组依据(Group by)”按钮。
单击(Click)或点击下拉菜单中的任何条件以在此基础上对项目进行分组。选择分组选项后,“分组依据(Group by)”菜单中会出现一个新条目:(无)((None))。单击或点击它会取消任何分组,并且项目会再次以通常的方式显示。
将项目分组后,升序(Ascending)和降序(Descending)选项不再灰显,并且默认情况下启用升序选项。(Ascending)例如,当我们按类型(Type)对媒体文件进行分组时,这些组按字母顺序显示(JPG、MP3、MP4和PNG)。选择降序(Descending)会恢复顺序 - PNG、MP4、MP3和JPG。
右键单击“分组依据”(Group by)菜单也提供相同的选项。对于其他分组标准,单击或点击更多(More)或使用添加列(Add columns)按钮 - 仅在详细信息(Details)视图中有效。
您还可以使用“视图”选项卡中的“(View)分组依据(Group by)”按钮,然后按“选择列”(Choose columns)。
由于您在“分组依据(Group by)”菜单中添加的任何新条件也会自动添加到“排序依据(Sort by)”菜单中,因此两者还共享上一节中讨论的“选择详细信息”(Choose Details)窗口。选中(Check)您要添加为分组条件的任何选项,然后按OK在Group by菜单中找到它们。
提示:(TIP:)请记住,对项目进行分组也会自动按相同的属性对其进行排序。但是,您可以先按一个属性对项目进行分组,然后按不同的属性对它们进行排序,以便在每个分组部分中按特定顺序查看它们。
单击或点击任何组的标题会选择该部分的全部内容。
双击或双击标题可在折叠或展开部分之间切换。您可以通过单击或点击标题旁边的箭头按钮来执行相同的操作。
如果您选择的分组选项与文件夹中的某些项目不兼容,它们会出现在名为Unspecified的部分中。我们按Authors对我们的媒体文件夹进行分组,没有指定作者的文件出现在一个单独的未指定(Unspecified)组中。
如何在Windows 10中过滤文件和文件夹(Windows 10)
在 Windows 10 中,如果您使用“详细信息(Details)”视图,文件资源管理器可以过滤文件夹的内容。(File Explorer)与分组功能类似,过滤文件夹和文件可帮助您缩小所需项目的范围,仅显示符合您条件的内容。
详细信息(Details)视图显示了几列,每列显示有关该文件夹中项目的更多信息(名称(Name)、修改日期(Date modified)、类型(Type)、大小(Size)等)(etc)。如果将光标悬停在列标题上,您会看到其右侧显示一个小的向下箭头。点击(Click)它。对于触摸屏,点击列标题的右侧。
要了解文件资源管理器的(File Explorer's) 详细信息(Details)视图中的过滤,让我们看看如何在Windows 10中过滤文件夹以仅显示(Windows 10)PNG文件。按类型(Type)旁边的向下箭头会显示一个下拉菜单,其中过滤选项是文件夹中包含的文件类型。选择您想查看的项目 - 在我们的例子中,PNG 文件(PNG File)。
完成后,显示的唯一内容是与您的选择相匹配的内容。文件资源管理器(File Explorer)现在在地址栏中显示过滤条件,向下箭头替换为复选标记,表示当前应用了过滤器。
您可以继续使用任何详细信息(Details)列应用过滤器,以进一步缩小文件夹中的文件范围。使用文件资源管理器的(File Explorer's)“视图”选项卡中“(View)当前视图(Current view)”部分中的“添加列(Add columns)”按钮显示一个菜单,您可以在其中检查所需的列,甚至可以选择(Choose columns)包含其他列的列。
按选择列(Choose columns)将打开本教程第一部分中讨论的相同选择详细信息窗口。(Choose Details)使用它来选择您要过滤的任何其他类别。
如果启用许多详细信息(Details)列,请按“调整所有列的大小以适合”("Size all columns to fit")按钮以根据其内容更改其宽度。
右键单击或按住任何列标题以显示“大小列以适合”("Size Column to Fit")选项。您还可以从同一上下文菜单中添加其他列或“调整所有列的大小以适合” 。("Size All Columns to Fit")
有几种方法可以从文件资源管理器中的文件夹中删除过滤器(File Explorer)。如果要删除所有应用的过滤器,请单击或点击地址栏中的文件夹名称。
您还可以单击或点击复选标记以显示可用的过滤器,然后取消选中要删除的过滤器旁边的框。
最后,按返回(Back)按钮删除您最后添加的过滤器。对于多个过滤器,单击或点击返回(Back)以删除每个过滤器。按前进(Forward)以重新应用过滤器。
要了解有关有效使用文件资源管理器(File Explorer)的更多信息,请阅读在 Windows(所有版本)中改进文件资源管理器或 Windows 资源管理器的 15 种方法(15 ways to improve File Explorer or Windows Explorer in Windows (all versions))。
图中哪个选项最适合您?
如您所见,文件资源管理器(File Explorer)提供了一些强大的工具,用于对文件和文件夹进行排序、分组和过滤。尝试本教程中说明的选项,看看最适合您的选项。您可能只需要对一个凌乱的文件夹进行排序,但如果它的文件多于预期,则可能需要进行过滤。无论哪种方式,您都应该能够更快地组织和定位文件和文件夹。在您关闭本教程之前,请让我们知道哪些选项最适合您以及为什么。在下面发表评论。
How to sort, group, and filter files & folders in Windows 10's File Explorer
It's іmportant to know how tо sort, group, and filter files and folders in Windows 10, especially if you work with a lot of them. No matter how hard you try to organize everything, it may be diffiсult at times to find a specific item оr set of items. That'ѕ why File Explorer includes plenty of options for sorting, grouping, and filtering files and folders, using all kinds of criteria in Windows 10. This tutorial illustrates how to sort, group, and filter folders and files in Windows 10's File Explorer, so you can be more efficient in managing items and finding what you are looking for:
How to sort files and folders in Windows 10
Sorting files and folders reorders them in File Explorer based on the criteria you prefer. There are over 300 criteria available, and you can apply whichever you prefer. By default, in Windows 10, your files and folders are sorted in Ascending order by Name - or alphabetically - except for the Downloads folder, which is sorted in Descending order by Date modified - newest downloads are displayed on top.
One option to begin sorting files and folders is to right-click or press-and-hold on a free area inside the folder to open a contextual menu. Then, hover or tap on Sort by to reveal the four main sorting options for that view template. Our folder uses the General items template, so we can sort it quickly by Name, Date modified, Type, and Size. Click or tap on any of the options, and the items are reordered on that basis.
You can reveal more options from File Explorer's View tab. In the Current view section, click or tap on Sort by.
Same as before, the sorting options displayed are specific to that folder's view template. To add more criteria to the Sort by menus, click or tap Choose columns.
If you're using the right-click Sort by menu, click or tap on More to add extra criteria.
This opens the Choose Details window, where only the four main criteria are selected. Click or tap the boxes of the sorting criteria that you would like to use, or select an entry and then click or tap the Show and Hide buttons on the right to add or remove that specific sorting option.
NOTE: You can also select any sorting option and then use the Move Up and Move Down buttons to reposition it in the list.
After selecting your sorting criteria, click or tap OK.
TIP: Any criteria you add to the Sort by menus are also added automatically to the Group by menu discussed in the next section. You can also use the Add columns button from the Current view section of the View tab to expand or shrink the existing list of criteria. The button is greyed out unless you're using the Details view Layout.
Any new sorting option is now available both at the bottom of the Sort by list, in the right-click contextual menu, and as a separate column header - if you're using the Details view Layout. Click or tap on it to reorder things on this basis.
If you press the Sort by button from File Explorer's View tab, you can also find the new sorting option under the default ones. Click or tap on it, and the files are instantly rearranged based on your selection.
Regardless of the sorting option you're using, the sorting results can be displayed in either Ascending or Descending order. For instance, when sorting by the default Name option, Ascending means the files and folders are arranged from A to Z, while Descending sorts items from Z to A. If you want to reverse the order for your criteria, you can click or tap (again) on its column header, or check the appropriate option from the right-click Sort by menu, as seen below.
You can also choose to display items as Ascending or Descending by pressing the Sort by button and selecting the order you prefer.
Alternatively, accessing the Sort by menu and clicking or tapping on the active sorting option also reverses the order of the items.
How to group files and folders in Windows 10
You can also group files and folders using the different criteria in Windows 10's File Explorer. This organizes all the items in a folder, breaking them into separate sections, based on the detail you choose. By default, items in Windows 10 are not grouped into any category, the only exceptions being:
- Downloads - grouped in Descending order by Date modified to help you find the newest downloaded items on top.
- This PC - grouped by Type in Ascending order. This location has different sorting and grouping alternatives.
- Network - grouped in Ascending order by Category. This location also comes with different sorting and grouping options than other folders.
Right-click or press-and-hold on a free area inside the folder whose contents you want to group. In the contextual menu, hover or tap on Group by to reveal the four main grouping options for that folder. The categories shown differ based on each folder's view template. Click or tap on any of the displayed criteria to group items on that basis.
For instance, we want to group the contents of the media files folder by Type. Clicking or tapping on Type offers a different perspective over the files in our media folder, as seen below.
You can also group files and folders from the View tab in File Explorer. Click or tap on the Group by button from the Current view section.
Click or tap on any of the criteria from the dropdown menu to group items on that basis. When a grouping option is selected, a new entry becomes available in the Group by menus: (None). Clicking or tapping on it cancels any grouping, and items are shown the usual way again.
As soon as you group items, the Ascending and Descending options are no longer greyed out, and the Ascending option is enabled by default. For instance, when we grouped our media files by Type, the groups were shown in alphabetical order (JPG, MP3, MP4, and PNG). Selecting Descending reverts the order - PNG, MP4, MP3, and JPG.
The same options are also available from the right-click Group by menu. For additional grouping criteria, click or tap on More or use the Add columns button - only active in Details view.
You can also use the Group by button from the View tab, and then press Choose columns.
Since any new criteria you add in the Group by menus are also added automatically to the Sort by menu, the two also share the Choose Details window discussed in the previous section. Check any of the options you want to add as grouping criteria and press OK to find them in the Group by menus.
TIP: Keep in mind that grouping items also sorts them by the same attribute automatically. However, you can first group items by one attribute, and then sort them by a different one to see them in a certain order within each grouping section.
Clicking or tapping on any group's header selects that section's entire content.
Double-clicking or double-tapping on a header toggles between collapsing or expanding the section. You can do the same thing by clicking or tapping on the arrow button next to a header.
If the grouping option you select is incompatible with some of the items in your folder, they appear in a section named Unspecified. We grouped our media folder by Authors, and the files without a designated author appeared in a separate Unspecified group.
How to filter files and folders in Windows 10
In Windows 10, File Explorer can filter the contents of a folder if you're using the Details view. Similar to the grouping feature, filtering folders and files helps you narrow down the items you need by only showing the content that fits your criteria.
The Details view shows several columns, each displaying more information about the items in that folder (Name, Date modified, Type, Size, etc.). If you hover the cursor over a column header, you can see a small down arrow shown to its right. Click on it. For touchscreens, tap on the right side of a column's header.
To understand filtering in File Explorer's Details view, let's see how to filter a folder to display only PNG files in Windows 10. Pressing the down arrow next to Type reveals a dropdown menu where the filtering alternatives are the type of files included in the folder. Select the items you want to see - in our case, PNG File.
When you're done, the only contents shown are the ones that match your selection. File Explorer is now displaying the filtering criteria in the address bar, and the down arrow is replaced by a checkmark, indicating a filter is currently applied.
You can continue to apply filters using any of the Details columns, to further narrow down the files in the folder. Use the Add columns button in the Current view section from File Explorer's View tab to reveal a menu where you can check the columns you want and even Choose columns to include additional ones.
Pressing Choose columns opens the same Choose Details window discussed in the first section of this tutorial. Use it to select any other categories you want to filter by.
If you enable many Details columns, press the "Size all columns to fit" button to change their width according to their contents.
Right-click or press-and-hold on any column header to reveal the "Size Column to Fit" option. You can also add additional columns or "Size All Columns to Fit" from the same contextual menu.
There are several ways to remove filters from your folder in File Explorer. If you want to remove all the filters applied, click or tap on the folder's name in the address bar.
You can also click or tap on the checkmark to reveal the available filters, and then uncheck the box next to the filter(s) you want to remove.
Finally, press the Back button to remove the filter you added last. For multiple filters, click or tap on Back to remove each one. Press Forward to reapply a filter.
To learn more about using File Explorer efficiently, read 15 ways to improve File Explorer or Windows Explorer in Windows (all versions).
Which of the illustrated options fits you best?
As you can see, File Explorer provides some powerful tools for sorting, grouping, and filtering your files and folders. Try out the options illustrated in this tutorial to see what fits you best. You might just need to sort through a messy folder, but filtering could be required if it has more files than expected. Either way, you should be able to organize and locate files and folders a lot faster. Before you close this tutorial, let us know which of the options fits you best and why. Leave a comment below.