文件怎么设置手动排序?

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了文件怎么设置手动排序?相关的知识,希望对你有一定的参考价值。

文件怎么设置手动排序?

1、我们打开计算机的资源管理器,点击工具-文件夹选项,进入文件夹的相关设置。

2、点击 查看选项卡,拉动滑动条,找到 隐藏已知文件的扩展名,将前面的勾选去掉,点击应用-确定,保存修改结果。这样做的目的是为了后面修改新建文本文档的扩展名。

3、在桌面或随意其他地方点击鼠标右键,选择新建-文本文档,并且将后缀名改为reg,弹出警告框选择确定。

4、右键选择reg文件,点击编辑,在文本框粘贴如下内容(如果不想这么麻烦可以不做这些步骤,下载我在注意事项处提供的下载文件,下载后双击即可)


Windows Registry Editor Version 5.00

;开启Windows 7文件/文件夹手动排序功能

[-HKEY_CURRENT_USER\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\Bags]

[HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced]

"FullRowSelect"=dword:00000000

[HKEY_CURRENT_USER\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\Bags\\AllFolders]

[HKEY_CURRENT_USER\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\Bags\\1]

[HKEY_CURRENT_USER\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\Bags\\1\\Shell]

[HKEY_CURRENT_USER\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\Bags\\1\\Shell\\5C4F28B5-F869-4E84-8E60-F11DB97C5CC7]

"Rev"=dword:00000000

"FFlags"=dword:41000011

"Vid"="65F125E5-7BE1-4810-BA9D-D271C8432CE3"

"Mode"=dword:00000006

"LogicalViewMode"=dword:00000002

"IconSize"=dword:00000030

"ColInfo"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,fd,df,df,fd,10,\\

00,00,00,00,00,00,00,00,00,00,00,04,00,00,00,18,00,00,00,30,f1,25,b7,ef,47,\\

1a,10,a5,f1,02,60,8c,9e,eb,ac,0a,00,00,00,a0,00,00,00,30,f1,25,b7,ef,47,1a,\\

10,a5,f1,02,60,8c,9e,eb,ac,04,00,00,00,c8,00,00,00,35,4b,17,9b,ff,40,d2,11,\\

a2,7e,00,c0,4f,c3,08,71,03,00,00,00,80,00,00,00,35,4b,17,9b,ff,40,d2,11,a2,\\

7e,00,c0,4f,c3,08,71,02,00,00,00,80,00,00,00

"Sort"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,30,f1,\\

25,b7,ef,47,1a,10,a5,f1,02,60,8c,9e,eb,ac,0a,00,00,00,01,00,00,00

"GroupView"=dword:ffffffff

"GroupByKey:FMTID"="B725F130-47EF-101A-A5F1-02608C9EEBAC"

"GroupByKey:PID"=dword:00000004

"GroupByDirection"=dword:00000001

[HKEY_CURRENT_USER\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\Bags\\AllFolders\\Shell]

"WFlags"=dword:00000000

"ShowCmd"=dword:00000001

"HotKey"=dword:00000000

"KnownFolderDerivedFolderType"="57807898-8C4F-4462-BB63-71042380B109"

[HKEY_CURRENT_USER\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\Bags\\AllFolders\\Shell\\5C4F28B5-F869-4E84-8E60-F11DB97C5CC7]

"Rev"=dword:00000000

"FFlags"=dword:43000001

"Vid"="137E7700-3573-11CF-AE69-08002B2E1262"

"Mode"=dword:00000004

"LogicalViewMode"=dword:00000001

"IconSize"=dword:00000010

"ColInfo"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,fd,df,df,fd,10,\\

00,00,00,00,00,00,00,00,00,00,00,04,00,00,00,18,00,00,00,30,f1,25,b7,ef,47,\\

1a,10,a5,f1,02,60,8c,9e,eb,ac,0a,00,00,00,10,01,00,00,30,f1,25,b7,ef,47,1a,\\

10,a5,f1,02,60,8c,9e,eb,ac,0e,00,00,00,78,00,00,00,30,f1,25,b7,ef,47,1a,10,\\

a5,f1,02,60,8c,9e,eb,ac,04,00,00,00,78,00,00,00,30,f1,25,b7,ef,47,1a,10,a5,\\

f1,02,60,8c,9e,eb,ac,0c,00,00,00,50,00,00,00

"Sort"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,30,f1,\\

25,b7,ef,47,1a,10,a5,f1,02,60,8c,9e,eb,ac,0a,00,00,00,01,00,00,00

"GroupView"=dword:00000000

"GroupByKey:FMTID"="00000000-0000-0000-0000-000000000000"

"GroupByKey:PID"=dword:00000000

"GroupByDirection"=dword:00000001

[HKEY_CURRENT_USER\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\Bags\\AllFolders\\Shell\\5fa96407-7e77-483c-ac93-691d05850de8]

"Rev"=dword:00000000

"Vid"="137E7700-3573-11CF-AE69-08002B2E1262"

"Mode"=dword:00000004

"LogicalViewMode"=dword:00000001

"IconSize"=dword:00000010

"ColInfo"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,fd,df,df,fd,10,\\

00,00,00,00,00,00,00,00,00,00,00,04,00,00,00,18,00,00,00,30,f1,25,b7,ef,47,\\

1a,10,a5,f1,02,60,8c,9e,eb,ac,0a,00,00,00,10,01,00,00,30,f1,25,b7,ef,47,1a,\\

10,a5,f1,02,60,8c,9e,eb,ac,0e,00,00,00,78,00,00,00,30,f1,25,b7,ef,47,1a,10,\\

a5,f1,02,60,8c,9e,eb,ac,04,00,00,00,78,00,00,00,30,f1,25,b7,ef,47,1a,10,a5,\\

f1,02,60,8c,9e,eb,ac,0c,00,00,00,50,00,00,00

"Sort"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,30,f1,\\

25,b7,ef,47,1a,10,a5,f1,02,60,8c,9e,eb,ac,0a,00,00,00,01,00,00,00

"GroupView"=dword:00000000

"GroupByKey:FMTID"="00000000-0000-0000-0000-000000000000"

"GroupByKey:PID"=dword:00000000

"GroupByDirection"=dword:00000001

"FFlags"=dword:43000001

[HKEY_CURRENT_USER\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\Bags\\AllFolders\\Shell\\7d49d726-3c21-4f05-99aa-fdc2c9474656]

"Rev"=dword:00000000

"Vid"="137E7700-3573-11CF-AE69-08002B2E1262"

"Mode"=dword:00000004

"LogicalViewMode"=dword:00000001

"IconSize"=dword:00000010

"ColInfo"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,fd,df,df,fd,10,\\

00,00,00,00,00,00,00,00,00,00,00,04,00,00,00,18,00,00,00,30,f1,25,b7,ef,47,\\

1a,10,a5,f1,02,60,8c,9e,eb,ac,0a,00,00,00,10,01,00,00,30,f1,25,b7,ef,47,1a,\\

10,a5,f1,02,60,8c,9e,eb,ac,0e,00,00,00,78,00,00,00,30,f1,25,b7,ef,47,1a,10,\\

a5,f1,02,60,8c,9e,eb,ac,04,00,00,00,78,00,00,00,30,f1,25,b7,ef,47,1a,10,a5,\\

f1,02,60,8c,9e,eb,ac,0c,00,00,00,50,00,00,00

"Sort"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,30,f1,\\

25,b7,ef,47,1a,10,a5,f1,02,60,8c,9e,eb,ac,0a,00,00,00,01,00,00,00

"GroupView"=dword:00000000

"GroupByKey:FMTID"="00000000-0000-0000-0000-000000000000"

"GroupByKey:PID"=dword:00000000

"GroupByDirection"=dword:00000001

"FFlags"=dword:43000001

[HKEY_CURRENT_USER\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\Bags\\AllFolders\\Shell\\94d6ddcc-4a68-4175-a374-bd584a510b78]

"Rev"=dword:00000000

"Vid"="137E7700-3573-11CF-AE69-08002B2E1262"

"Mode"=dword:00000004

"LogicalViewMode"=dword:00000001

"IconSize"=dword:00000010

"ColInfo"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,fd,df,df,fd,10,\\

00,00,00,00,00,00,00,00,00,00,00,04,00,00,00,18,00,00,00,30,f1,25,b7,ef,47,\\

1a,10,a5,f1,02,60,8c,9e,eb,ac,0a,00,00,00,10,01,00,00,30,f1,25,b7,ef,47,1a,\\

10,a5,f1,02,60,8c,9e,eb,ac,0e,00,00,00,78,00,00,00,30,f1,25,b7,ef,47,1a,10,\\

a5,f1,02,60,8c,9e,eb,ac,04,00,00,00,78,00,00,00,30,f1,25,b7,ef,47,1a,10,a5,\\

f1,02,60,8c,9e,eb,ac,0c,00,00,00,50,00,00,00

"Sort"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,30,f1,\\

25,b7,ef,47,1a,10,a5,f1,02,60,8c,9e,eb,ac,0a,00,00,00,01,00,00,00

"GroupView"=dword:00000000

"GroupByKey:FMTID"="00000000-0000-0000-0000-000000000000"

"GroupByKey:PID"=dword:00000000

"GroupByDirection"=dword:00000001

"FFlags"=dword:43000001

[HKEY_CURRENT_USER\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\Bags\\AllFolders\\Shell\\b3690e58-e961-423b-b687-386ebfd83239]

"Rev"=dword:00000000

"Vid"="137E7700-3573-11CF-AE69-08002B2E1262"

"Mode"=dword:00000004

"LogicalViewMode"=dword:00000001

"IconSize"=dword:00000010

"ColInfo"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,fd,df,df,fd,10,\\

00,00,00,00,00,00,00,00,00,00,00,04,00,00,00,18,00,00,00,30,f1,25,b7,ef,47,\\

1a,10,a5,f1,02,60,8c,9e,eb,ac,0a,00,00,00,10,01,00,00,30,f1,25,b7,ef,47,1a,\\

10,a5,f1,02,60,8c,9e,eb,ac,0e,00,00,00,78,00,00,00,30,f1,25,b7,ef,47,1a,10,\\

a5,f1,02,60,8c,9e,eb,ac,04,00,00,00,78,00,00,00,30,f1,25,b7,ef,47,1a,10,a5,\\

f1,02,60,8c,9e,eb,ac,0c,00,00,00,50,00,00,00

"Sort"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,30,f1,\\

25,b7,ef,47,1a,10,a5,f1,02,60,8c,9e,eb,ac,0a,00,00,00,01,00,00,00

"GroupView"=dword:00000000

"GroupByKey:FMTID"="00000000-0000-0000-0000-000000000000"

"GroupByKey:PID"=dword:00000000

"GroupByDirection"=dword:00000001

"FFlags"=dword:43000001

退出文本文档,选择保存即可。

5、双击编辑好的reg文件,系统提示是否添加到注册表,选择 是。
再去资源管理器试试拖拽文件即可。

参考技术A

1、我们先把这个排序方式,设置为详细信息。

2、找到上边查看的按钮。

3、在查看下边找到选择详细信息。

4、找详细中,我们找到尺寸,勾选上他。

5、勾选之后,我们把他上移到最上边,点击确定完成设置。

6、最后我们就可以看见按尺寸排序了。

参考技术B 工具栏中选择“数据”下拉“排序”按照你的要求进行选择按哪一行进行选择,升序降序也可以选择,就可以了,希望对你有帮助,望采纳,谢谢!追问

我选哪一个呢?选哪一条件可以手动排序呢

追答

这个是手动选择排序的列,然后自动排好的,比如你的a列是金额,你要安多少排,那点击排序里面的主要关键字就可以进行排列

追问

不是数据排序,是文件夹里的文件排序,想手动排,想排第几排第几

Window8系统

追答

排文件就更简单了,优先右击鼠标,会出现排列图标的选项,当中有时间,名称之类的选项,不管哪个选项前有钩,都点除掉,直接把你要的文件按住拖到想要的地方就可以了啊

追问

就是除不掉啊

追答

我目前用的还不是win8的系统,但是这个文件的排列应该都是一样的啊,建议你再试试

追问

谢谢

追答

在教你一个办法吧,如果是桌面文件,右击鼠标,“查看”里面的自动排列点掉就可以随意排列,但是盘内的文件夹当中的文件就比较烦,点击文件名,在文件名前加一个数字“1”,就会排列到第一位,加“2”就是第二位,其他没有办法了,网上都评价这个系统不太好用的,你先这样用吧

追问

谢谢

本回答被提问者采纳
参考技术C 你可以在文件名前面添加数字,然后设置为按名称排序。。越是开头数字小的,越排在前面追问

我要手动排序,想拖最后就能排最后

追答

把文件名开头的数字以99开头

参考技术D 哪的文件追问

文件夹里的若干文件

list 怎么自定义排序

有什么API 没有 能 让我把 list 里面的 类按我想要的 字段排序 。 比如 我 一个放了 很多User 对象的 list 按 User 对象的 birthday 字段排序。 要效率高的哦 。

参考技术A package com.wxsoft.sale.util;

import java.text.CollationKey;
import java.text.Collator;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;

import org.apache.commons.beanutils.BeanComparator;
import org.apache.commons.collections.comparators.ComparatorChain;

/**
* 用于集合排序的类
* @author Administrator
* @createdate 2007-7-13 下午04:10:17
*/
public class SortCollection
/**
* 升序
*/
public static final int ASC = 1;

/**
* 降序
*/
public static final int DESC = 2;

private List list;
private ComparatorChain myBeanComparator = new ComparatorChain();

public SortCollection(List list)
this.list = list;


/**
* 增加排序字段(升序)
* @param field 用于排序的字段名
*/
public void addSortField(String field)
addSortField(field, ASC);


/**
* 增加排序字段
* @param field 用于排序的字段名
* @param sort 升序还是降序
*/
public void addSortField(String field, int sort)
Comparator factoryComparator = new BeanComparator(field, new CollatorComparator(sort));
myBeanComparator.addComparator(factoryComparator);


/**
* 排序
*/
public void sort()
Collections.sort(list, myBeanComparator);


/**
* 用于排序的内部类
* @author Administrator
* @createdate 2007-7-13 下午04:24:51
*/
private class CollatorComparator implements Comparator
/**
* 用于判断是升序还是降序的标志
*/
private int sort = ASC;

private Collator collator = Collator.getInstance();

public CollatorComparator(int sort)
this.sort = sort;


public int compare(Object element1, Object element2)
CollationKey key1 = collator.getCollationKey(element1.toString());
CollationKey key2 = collator.getCollationKey(element2.toString());
if (sort == ASC)
return key1.compareTo(key2);
else
return key2.compareTo(key1);




//调用方法
SortCollection sort= new SortCollection(list);
sort.addSortField("field1");
sort.addSortField("field2",SortCollection.ASC);
sort.addSortField("field3",SortCollection.DESC);
sort.addSortField("field4");
sort.sort();
参考技术B 1.先实现Comparator接口,给出一个排序的实现类
2.Comparator 排序实例 = new 第一部创建的类();
Collections.sort(你的list实例,上面创建的排序实例);

参考http://mht.javaeye.com/blog/186130本回答被提问者采纳
参考技术C 告诉你编程时最常用的做法:

Collections.sort(List list,new Comparator()
1:实现该接口的方法,具体看API。
);
其实原理和1楼是一样的,这是在实际项目按开发中最简洁的写法,效率没问题。实际项目开发最好掌握匿名内部类的使用

以上是关于文件怎么设置手动排序?的主要内容,如果未能解决你的问题,请参考以下文章

MySQL创建数据库表怎么直接设置默认当前时间?

双面打印第二页是反的怎么设置

QT 如何设置选择本地文件窗口

mac文件夹自动排序如何设置

每次一打开就是默认png格式,要手动切换jpg才能看见图片。这个怎么设置固定

怎么手动添加anaconda3到环境变量中