⑴很多时候我们发现Win系统中,文件和文件夹是不可以随意拖动的,不管你拖动到什么位置都会自动排列回去,那么有时我们想按自己的习惯排列文件和文件夹图标就不可以了,不过按下面小编的方法设置一下,一切都搞定了!
⑵Win怎么让文件及文件夹可以自由排列随意拖动?
⑶打开Windows旗舰版的记事本程序,然后将下面红色的代码复制到记事本中;
⑷Windows Registry Editor Version .
⑸;Disable Full Row Select feature in Windows
⑹;Created by Ramesh Srinivasan
⑺;Created on Feb
⑻[-HKEY_CURRENT_USERSoftwareClassesLocal SettingsSoftwareMicrosoftWindowsShellBags]
⑼[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced]
⑽"FullRowSelect"=dword:
⑾[HKEY_CURRENT_USERSoftwareClassesLocal SettingsSoftwareMicrosoftWindowsShellBagsAllFoldersShell]
⑿"KnownFolderDerivedFolderType"="{-CF--BB-B}"
⒀"SniffedFolderType"="Generic"
⒁;Generic - Folder Template
⒂[HKEY_CURRENT_USERSoftwareClassesLocal SettingsSoftwareMicrosoftWindowsShellBagsAllFoldersShell{CFB-F-E-E-FDBC}]
⒃"Rev"=dword:
⒄"FFlags"=dword:
⒅"Vid"="{E--CF-AE-BE}"
⒆"Mode"=dword:
⒇"LogicalViewMode"=dword:
⒈"IconSize"=dword:
⒉"ColInfo"=hex:,,,,,,,,,,,,,,,,fd,df,df,fd,,
⒊,,,,,,,,,,,,,,,,,,,,f,,b,ef,,
⒋a,,a,f,,,c,e,eb,ac,a,,,,,,,,,f,,b,ef,,a,
⒌,a,f,,,c,e,eb,ac,e,,,,,,,,,f,,b,ef,,a,,
⒍a,f,,,c,e,eb,ac,,,,,,,,,,f,,b,ef,,a,,a,
⒎f,,,c,e,eb,ac,c,,,,,,,
⒏"Sort"=hex:,,,,,,,,,,,,,,,,,,,,,f,
⒐,b,ef,,a,,a,f,,,c,e,eb,ac,a,,,,,,,
⒑"GroupView"=dword:
⒒"GroupByKey:FMTID"="{----}"
⒓"GroupByKey:PID"=dword:
⒔"GroupByDirection"=dword:
⒕;Documents - Folder Template
⒖[HKEY_CURRENT_USERSoftwareClassesLocal SettingsSoftwareMicrosoftWindowsShellBagsAllFoldersShell{dd-c-f-aa-fd}]
⒗"Rev"=dword:
⒘"Vid"="{E--CF-AE-BE}"
⒙"Mode"=dword:
⒚"LogicalViewMode"=dword:
⒛"IconSize"=dword:
①"ColInfo"=hex:,,,,,,,,,,,,,,,,fd,df,df,fd,,
②,,,,,,,,,,,,,,,,,,,,f,,b,ef,,
③a,,a,f,,,c,e,eb,ac,a,,,,,,,,,f,,b,ef,,a,
④,a,f,,,c,e,eb,ac,e,,,,,,,,,f,,b,ef,,a,,
⑤a,f,,,c,e,eb,ac,,,,,,,,,,f,,b,ef,,a,,a,
⑥f,,,c,e,eb,ac,c,,,,,,,
⑦"Sort"=hex:,,,,,,,,,,,,,,,,,,,,,f,
⑧,b,ef,,a,,a,f,,,c,e,eb,ac,a,,,,,,,
⑨"GroupView"=dword:
⑩"GroupByKey:FMTID"="{----}"
Ⅰ"GroupByKey:PID"=dword:
Ⅱ"GroupByDirection"=dword:
Ⅲ"FFlags"=dword:
Ⅳ;Music - Folder Template
Ⅴ[HKEY_CURRENT_USERSoftwareClassesLocal SettingsSoftwareMicrosoftWindowsShellBagsAllFoldersShell{ddd-a--a-bdab}]
Ⅵ"Rev"=dword:
Ⅶ"Vid"="{E--CF-AE-BE}"
Ⅷ"Mode"=dword:
Ⅸ"LogicalViewMode"=dword:
Ⅹ"IconSize"=dword:
㈠"ColInfo"=hex:,,,,,,,,,,,,,,,,fd,df,df,fd,,
㈡,,,,,,,,,,,,,,,,,,,,f,,b,ef,,
㈢a,,a,f,,,c,e,eb,ac,a,,,,,,,,,f,,b,ef,,a,
㈣,a,f,,,c,e,eb,ac,e,,,,,,,,,f,,b,ef,,a,,
㈤a,f,,,c,e,eb,ac,,,,,,,,,,f,,b,ef,,a,,a,
㈥f,,,c,e,eb,ac,c,,,,,,,
㈦"Sort"=hex:,,,,,,,,,,,,,,,,,,,,,f,
㈧,b,ef,,a,,a,f,,,c,e,eb,ac,a,,,,,,,
㈨"GroupView"=dword:
㈩"GroupByKey:FMTID"="{----}"
"GroupByKey:PID"=dword:
"GroupByDirection"=dword:
"FFlags"=dword:
;Pictures - Folder Template
[HKEY_CURRENT_USERSoftwareClassesLocal SettingsSoftwareMicrosoftWindowsShellBagsAllFoldersShell{be-e-b-b-ebfd}]
"Rev"=dword:
"Vid"="{E--CF-AE-BE}"
"Mode"=dword:
"LogicalViewMode"=dword:
"IconSize"=dword:
"ColInfo"=hex:,,,,,,,,,,,,,,,,fd,df,df,fd,,
,,,,,,,,,,,,,,,,,,,,f,,b,ef,,
a,,a,f,,,c,e,eb,ac,a,,,,,,,,,f,,b,ef,,a,
,a,f,,,c,e,eb,ac,e,,,,,,,,,f,,b,ef,,a,,
a,f,,,c,e,eb,ac,,,,,,,,,,f,,b,ef,,a,,a,
f,,,c,e,eb,ac,c,,,,,,,
"Sort"=hex:,,,,,,,,,,,,,,,,,,,,,f,
,b,ef,,a,,a,f,,,c,e,eb,ac,a,,,,,,,
"GroupView"=dword:
"GroupByKey:FMTID"="{----}"
"GroupByKey:PID"=dword:
"GroupByDirection"=dword:
"FFlags"=dword:
;Videos - Folder Template
[HKEY_CURRENT_USERSoftwareClassesLocal SettingsSoftwareMicrosoftWindowsShellBagsAllFoldersShell{fa-e-c-ac-dde}]
"Rev"=dword:
"Vid"="{E--CF-AE-BE}"
"Mode"=dword:
"LogicalViewMode"=dword:
"IconSize"=dword:
"ColInfo"=hex:,,,,,,,,,,,,,,,,fd,df,df,fd,,
,,,,,,,,,,,,,,,,,,,,f,,b,ef,,
a,,a,f,,,c,e,eb,ac,a,,,,,,,,,f,,b,ef,,a,
,a,f,,,c,e,eb,ac,e,,,,,,,,,f,,b,ef,,a,,
a,f,,,c,e,eb,ac,,,,,,,,,,f,,b,ef,,a,,a,
f,,,c,e,eb,ac,c,,,,,,,
"Sort"=hex:,,,,,,,,,,,,,,,,,,,,,f,
,b,ef,,a,,a,f,,,c,e,eb,ac,a,,,,,,,
"GroupView"=dword:
"GroupByKey:FMTID"="{----}"
"GroupByKey:PID"=dword:
"GroupByDirection"=dword:
"FFlags"=dword:
然后在记事本中点击菜单栏上的“文件”——“另存为”,文件类型选择为“所有文件”,并保存为“Win自由排列.reg”
双击创建好的“Win自由排列.reg”导入注册表中;
导入后重新启动一下win系统,这时你发现文件和文件夹已经能自由排列了,不过有的用户出现了一些问题,”平铺视图“不见了,那么我们还要解决一下这个问题,复制下面的代码到记事本中;
const HKEY_CURRENT_USER = &H
strputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\" & strputer & "
ootcimv")
Set colProcessList = objWMIService.ExecQuery _
("Select * from Win_Process Where Name = 'explorer.exe'")
For Each objProcess in colProcessList
objProcess.Terminate()
Set objRegistry=GetObject("winmgmts:{impersonationLevel=impersonate}!\" &_
strputer & "
ootdefault:StdRegProv")
strKeyPath = "SoftwareClassesLocal SettingsSoftwareMicrosoftWindowsShellBags"
strKeyPath = "SoftwareClassesLocal SettingsSoftwareMicrosoftWindowsShellBagMRU"
strKeyPath = "SOFTWAREMicrosoftWindowsCurrentVersionExplorerStreamsDefaults"
DeleteSubkeys HKEY_CURRENT_USER, strKeypath
DeleteSubkeys HKEY_CURRENT_USER, strKeypath
DeleteSubkeys HKEY_CURRENT_USER, strKeypath
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
objRegistry.DeleteKey HKEY_CURRENT_USER, strKeyPath
另存为 “修复平铺视图.vbs” 注意这次是.vbs而不是reg文件,其实是一个脚本文件。
运行创建好的脚本,系统会自动重启桌面,OK到这里问题就解决了,也实现了文件夹文件夹自由排列和拖动的功能。