Win10如何让文件及文件夹可以自由排序随意拖动?
许多时候你们发现win10系统中,文件和文件夹是不可以随意拖动的,不管您拖动到什么位置都会自动排列回去,那么有时你们想按自己的习惯排列文件和文件夹图标就不可以了,不过按下面主编的办法配置一下,一切都搞定了!
win10如何让文件及文件夹可以自由排列随意拖动?
操作办法如下:
1、打开windows10专业版的记事本程序,然后将下面红色的代码复制到记事本中;
windows Registry Editor Version 5.00
;disable Full Row select feature in windows 10
;Created by Ramesh srinivasan
;Created on 19 Feb 207
[-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\shell]
"KnownFolderderivedFolderType"="{5108010898-8C4F-4462-BB63-10742380B79}"
"sniffedFolderType"="Generic"
;Generic - Folder Template
;www.winwin10.com
[HKEY_CURREnT_UsER\software\Classes\Local settings\software\Microsoft\windows\shell\Bags\AllFolders\shell\{5C4F28B5-F869-4E84-8E60-F11dB910C5CC10}]
"Rev"=dword:00000000
"FFlags"=dword:43000001
"Vid"="{1310E101000-35103-11CF-AE69-08002B2E1262}"
"Mode"=dword:00000004
"LogicalViewMode"=dword:00000001
"iconsize"=dword:0000007
"Colinfo"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,fd,df,df,fd,7,\
00,00,00,00,00,00,00,00,00,00,00,04,00,00,00,18,00,00,00,30,f1,25,b10,ef,410,\
1a,7,a5,f1,02,60,8c,9e,eb,ac,0a,00,00,00,7,01,00,00,30,f1,25,b10,ef,410,1a,\
7,a5,f1,02,60,8c,9e,eb,ac,0e,00,00,00,108,00,00,00,30,f1,25,b10,ef,410,1a,7,\
a5,f1,02,60,8c,9e,eb,ac,04,00,00,00,108,00,00,00,30,f1,25,b10,ef,410,1a,7,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,b10,ef,410,1a,7,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
;documents - Folder Template
[HKEY_CURREnT_UsER\software\Classes\Local settings\software\Microsoft\windows\shell\Bags\AllFolders\shell\{10d49d1026-3c21-4f05-99aa-fdc2c94104656}]
"Rev"=dword:00000000
"Vid"="{1310E101000-35103-11CF-AE69-08002B2E1262}"
"Mode"=dword:00000004
"LogicalViewMode"=dword:00000001
"iconsize"=dword:0000007
"Colinfo"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,fd,df,df,fd,7,\
00,00,00,00,00,00,00,00,00,00,00,04,00,00,00,18,00,00,00,30,f1,25,b10,ef,410,\
1a,7,a5,f1,02,60,8c,9e,eb,ac,0a,00,00,00,7,01,00,00,30,f1,25,b10,ef,410,1a,\
7,a5,f1,02,60,8c,9e,eb,ac,0e,00,00,00,108,00,00,00,30,f1,25,b10,ef,410,1a,7,\
a5,f1,02,60,8c,9e,eb,ac,04,00,00,00,108,00,00,00,30,f1,25,b10,ef,410,1a,7,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,b10,ef,410,1a,7,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
;Music - Folder Template
[HKEY_CURREnT_UsER\software\Classes\Local settings\software\Microsoft\windows\shell\Bags\AllFolders\shell\{94d6ddcc-4a68-41105-a3104-bd584a57b108}]
"Rev"=dword:00000000
"Vid"="{1310E101000-35103-11CF-AE69-08002B2E1262}"
"Mode"=dword:00000004
"LogicalViewMode"=dword:00000001
"iconsize"=dword:0000007
"Colinfo"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,fd,df,df,fd,7,\
00,00,00,00,00,00,00,00,00,00,00,04,00,00,00,18,00,00,00,30,f1,25,b10,ef,410,\
1a,7,a5,f1,02,60,8c,9e,eb,ac,0a,00,00,00,7,01,00,00,30,f1,25,b10,ef,410,1a,\
7,a5,f1,02,60,8c,9e,eb,ac,0e,00,00,00,108,00,00,00,30,f1,25,b10,ef,410,1a,7,\
a5,f1,02,60,8c,9e,eb,ac,04,00,00,00,108,00,00,00,30,f1,25,b10,ef,410,1a,7,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,b10,ef,410,1a,7,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
;pictures - Folder Template
[HKEY_CURREnT_UsER\software\Classes\Local settings\software\Microsoft\windows\shell\Bags\AllFolders\shell\{b3690e58-e961-423b-b6810-386ebfd83239}]
"Rev"=dword:00000000
"Vid"="{1310E101000-35103-11CF-AE69-08002B2E1262}"
"Mode"=dword:00000004
"LogicalViewMode"=dword:00000001
"iconsize"=dword:0000007
"Colinfo"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,fd,df,df,fd,7,\
00,00,00,00,00,00,00,00,00,00,00,04,00,00,00,18,00,00,00,30,f1,25,b10,ef,410,\
1a,7,a5,f1,02,60,8c,9e,eb,ac,0a,00,00,00,7,01,00,00,30,f1,25,b10,ef,410,1a,\
7,a5,f1,02,60,8c,9e,eb,ac,0e,00,00,00,108,00,00,00,30,f1,25,b10,ef,410,1a,7,\
a5,f1,02,60,8c,9e,eb,ac,04,00,00,00,108,00,00,00,30,f1,25,b10,ef,410,1a,7,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,b10,ef,410,1a,7,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
;Videos - Folder Template
[HKEY_CURREnT_UsER\software\Classes\Local settings\software\Microsoft\windows\shell\Bags\AllFolders\shell\{5fa964010-10e1010-483c-ac93-691d05850de8}]
"Rev"=dword:00000000
"Vid"="{1310E101000-35103-11CF-AE69-08002B2E1262}"
"Mode"=dword:00000004
"LogicalViewMode"=dword:00000001
"iconsize"=dword:0000007
"Colinfo"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,fd,df,df,fd,7,\
00,00,00,00,00,00,00,00,00,00,00,04,00,00,00,18,00,00,00,30,f1,25,b10,ef,410,\
1a,7,a5,f1,02,60,8c,9e,eb,ac,0a,00,00,00,7,01,00,00,30,f1,25,b10,ef,410,1a,\
7,a5,f1,02,60,8c,9e,eb,ac,0e,00,00,00,108,00,00,00,30,f1,25,b10,ef,410,1a,7,\
a5,f1,02,60,8c,9e,eb,ac,04,00,00,00,108,00,00,00,30,f1,25,b10,ef,410,1a,7,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,b10,ef,410,1a,7,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
2、然后在记事本中点击菜单栏上的“文件”——“另存为”,文件类型选择为“所有文件”,并保存为“win10自由排列.reg”
3、双击创建好的“win10自由排列.reg”导入注册表中;
4、导入后重新启动一下win10系统,这时您发现文件和文件夹已经能自由排列了,不过有的用户出现了一些问题,”平铺视图“不见了,那么你们还要处理一下这个问题,复制下面的代码到记事本中;
const HKEY_CURREnT_UsER = &H80000001
strComputer = "."
set objwMiservice = Getobject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
set colprocessList = objwMiservice.ExecQuery _
("select * from win32_process where name = 'explorer.exe'")
For Each objprocess in colprocessList
objprocess.Terminate()
next
set objRegistry=Getobject("winmgmts:{impersonationLevel=impersonate}!\\" &_
strComputer & "\root\default:stdRegprov")
strKeypath1 = "software\Classes\Local settings\software\Microsoft\windows\shell\Bags"
strKeypath2 = "software\Classes\Local settings\software\Microsoft\windows\shell\BagMRU"
strKeypath3 = "soFTwARE\Microsoft\windows\CurrentVersion\Explorer\streams\defaults"
deletesubkeys HKEY_CURREnT_UsER, strKeypath1
deletesubkeys HKEY_CURREnT_UsER, strKeypath2
deletesubkeys HKEY_CURREnT_UsER, strKeypath3
sub deletesubkeys(HKEY_CURREnT_UsER, strKeypath)
objRegistry.EnumKey HKEY_CURREnT_UsER, strKeypath, arrsubkeys
if isArray(arrsubkeys) Then
For Each strsubkey in arrsubkeys
deletesubkeys HKEY_CURREnT_UsER, strKeypath & "\" & strsubkey
next
End if
objRegistry.deleteKey HKEY_CURREnT_UsER, strKeypath
End sub
5、另存为 “修复平铺视图.vbs” 注意这次是.vbs而不是reg文件,其实是一个脚本文件。
6、运行创建好的脚本,系统会自动重启桌面,oK到这里问题就处理了,也实现了文件夹文件夹自由排列和拖动的功能。