查看: 3148|回复: 5
收起左侧

[已解决] win7 右键文件夹丢失,非常感谢YK1234

 关闭 [复制链接]
小松鼠
发表于 2011-3-13 18:02:42 | 显示全部楼层 |阅读模式
本帖最后由 小松鼠 于 2011-3-15 07:54 编辑

现在不能右键文件夹了,估计用了Jupiter,可能手快吧,不想用win7优化大师之类的软件,就想手工方式解决问题.网上搜出来的解决不了问题.


win7 home


yk1234
发表于 2011-3-13 18:28:13 | 显示全部楼层
本帖最后由 yk1234 于 2011-3-13 18:36 编辑

不急的话明天晚上给你导个注册表文件,我现在只有一台装了xp的机器。
其实做这个功能的时候就想做导出功能,可是我很懒,骗自己不会有人误操作的。
http://www.google.com.hk/search?hl=zh-CN&source=hp&biw=1024&bih=606&q=Folder\\ShellNew&btnG=Google+%E6%90%9C%E7%B4%A2&aq=f&aqi=&aql=&oq=
参考一下吧

评分

参与人数 1经验 +5 收起 理由
tawny2008 + 5 感谢解答

查看全部评分

小松鼠
 楼主| 发表于 2011-3-14 11:23:26 | 显示全部楼层
现在临时用ctrl+shfit+n
用你的Jupiter,删除一些自己感觉没用的右键新建项,当时也没注意有没有删除文件夹项,事后发现不能新建文件夹,由于笔记本不在身边,现在不能试,笔记本在家里.也不急.

下面是yk1234给的连接,先保存一下,晚上试
把下面这段代码保存为“.bat”的文件,然后用管理员的权限来运行


@ECHO off
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\ShellNew /v Directory /t reg_sz /f

reg add HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\ShellNew /v IconPath /t reg_expand_sz /d "%%SystemRoot%%\system32\shell32.dll,3" /f

reg add HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\ShellNew /v ItemName /t reg_sz /d "@shell32.dll,-30396" /f

reg add HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\ShellNew /v MenuText /t reg_sz /d "@shell32.dll,-30317" /f

reg add HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\ShellNew /v NonLFNFileSpec /t reg_sz /d "@shell32.dll,-30319" /f

reg add HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\ShellNew\Config /v AllDrives /t reg_sz /f

reg add HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\ShellNew\Config /v IsFolder /t reg_sz /f

reg add HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\ShellNew\Config /v NoExtension /t reg_sz /f

reg add HKEY_USERS\S-1-5-21-950098276-2777319011-3767323484-500\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable\PostSetup\ShellNew /v Classes /t reg_multi_sz /d ".rtf .txt Folder" /f

pause


-----------------------------------------
导出了自己电脑上的“新建文件夹”的注册表,自己保存为 "*.reg" 格式的吧:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Folder]
"ContentViewModeLayoutPatternForBrowse"="delta"
"ContentViewModeForBrowse"="prop:~System.ItemNameDisplay;~System.LayoutPattern.PlaceHolder;~System.LayoutPattern.PlaceHolder;~System.LayoutPattern.PlaceHolder;System.DateModified"
"ContentViewModeLayoutPatternForSearch"="alpha"
"ContentViewModeForSearch"="prop:~System.ItemNameDisplay;System.DateModified;~System.ItemFolderPathDisplay"
@="Folder"
"EditFlags"=hex:d2,03,00,00
"FullDetails"="prop:System.PropGroup.Description;System.ItemNameDisplay;System.ItemTypeText;System.Size"
"NoRecentDocs"=""
"ThumbnailCutoff"=dword:00000000
"TileInfo"="prop:System.Title;System.ItemTypeText"

[HKEY_CLASSES_ROOT\Folder\DefaultIcon]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,00,\
65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,33,00,00,00

[HKEY_CLASSES_ROOT\Folder\shell]

[HKEY_CLASSES_ROOT\Folder\shell\explore]
"MultiSelectModel"="Document"
"ProgrammaticAccessOnly"=""
"LaunchExplorerFlags"=dword:00000018

[HKEY_CLASSES_ROOT\Folder\shell\explore\command]
"DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"

[HKEY_CLASSES_ROOT\Folder\shell\open]
"MultiSelectModel"="Document"

[HKEY_CLASSES_ROOT\Folder\shell\open\command]
"DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,45,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,00,2e,00,65,00,78,00,\
65,00,00,00

[HKEY_CLASSES_ROOT\Folder\shell\opennewprocess]
"MUIVerb"="@shell32.dll,-8518"
"MultiSelectModel"="Document"
"Extended"=""
"LaunchExplorerFlags"=dword:00000003
"ExplorerHost"="{ceff45ee-c862-41de-aee2-a022c81eda92}"

[HKEY_CLASSES_ROOT\Folder\shell\opennewprocess\command]
"DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"

[HKEY_CLASSES_ROOT\Folder\shell\opennewwindow]
"MUIVerb"="@shell32.dll,-8517"
"MultiSelectModel"="Document"
"OnlyInBrowserWindow"=""
"LaunchExplorerFlags"=dword:00000001

[HKEY_CLASSES_ROOT\Folder\shell\opennewwindow\command]
"DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"

[HKEY_CLASSES_ROOT\Folder\ShellEx]

[HKEY_CLASSES_ROOT\Folder\ShellEx\ContextMenuHandlers]

[HKEY_CLASSES_ROOT\Folder\ShellEx\ContextMenuHandlers\BriefcaseMenu]
@="{85BBD920-42A0-1069-A2E4-08002B30309D}"

[HKEY_CLASSES_ROOT\Folder\ShellEx\ContextMenuHandlers\FileMenuTools]
@="{C1B2C38F-3DCA-4E3D-BC34-D5B87B636543}"

[HKEY_CLASSES_ROOT\Folder\ShellEx\ContextMenuHandlers\HaoZip]
@="{5FED836A-C96C-4d88-A91E-F63F07726585}"

[HKEY_CLASSES_ROOT\Folder\ShellEx\ContextMenuHandlers\Library Location]
@="{3dad6c5d-2167-4cae-9914-f99e41c12cfa}"

[HKEY_CLASSES_ROOT\Folder\ShellEx\ContextMenuHandlers\Offline Files]
@="{474C98EE-CF3D-41f5-80E3-4AAB0AB04301}"

[HKEY_CLASSES_ROOT\Folder\ShellEx\ContextMenuHandlers\TeraCopy]
@="{A8005AF0-D6E8-48AF-8DFA-023B1CF660A7}"

[HKEY_CLASSES_ROOT\Folder\ShellEx\ContextMenuHandlers\UnlockerShellExtension]
@="{DDE4BEEB-DDE6-48fd-8EB5-035C09923F83}"

[HKEY_CLASSES_ROOT\Folder\ShellEx\DragDropHandlers]

[HKEY_CLASSES_ROOT\Folder\ShellEx\DragDropHandlers\HaoZip]
@="{5FED836A-C96C-4d88-A91E-F63F07726585}"

[HKEY_CLASSES_ROOT\Folder\ShellEx\DragDropHandlers\TeraCopy]
@="{A7005AF0-D6E8-48AF-8DFA-023B1CF660A7}"

[HKEY_CLASSES_ROOT\Folder\ShellEx\DragDropHandlers\{BD472F60-27FA-11cf-B8B4-444553540000}]
@=""

[HKEY_CLASSES_ROOT\Folder\ShellEx\PropertySheetHandlers]

[HKEY_CLASSES_ROOT\Folder\ShellEx\PropertySheetHandlers\BriefcasePage]
@="{85BBD920-42A0-1069-A2E4-08002B30309D}"

[HKEY_CLASSES_ROOT\Folder\ShellEx\PropertySheetHandlers\Offline Files]
@="{7EFA68C6-086B-43e1-A2D2-55A113531240}"

[HKEY_CLASSES_ROOT\Folder\ShellNew]
"Directory"=""
"IconPath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\
00,68,00,65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,33,00,\
00,00
"ItemName"="@shell32.dll,-30396"
"MenuText"="@shell32.dll,-30317"
"NonLFNFileSpec"="@shell32.dll,-30319"

[HKEY_CLASSES_ROOT\Folder\ShellNew\Config]
"AllDrives"=""
"IsFolder"=""
"NoExtension"=""

yk1234
发表于 2011-3-14 18:25:02 | 显示全部楼层
小松鼠
 楼主| 发表于 2011-3-15 07:46:06 | 显示全部楼层
把下面这段代码保存为“.bat”的文件,然后用管理员的权限来运行


@ECHO off
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\ShellNew /v Directory /t reg_sz /f

reg add HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\ShellNew /v IconPath /t reg_expand_sz /d "%%SystemRoot%%\system32\shell32.dll,3" /f

reg add HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\ShellNew /v ItemName /t reg_sz /d "@shell32.dll,-30396" /f

reg add HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\ShellNew /v MenuText /t reg_sz /d "@shell32.dll,-30317" /f

reg add HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\ShellNew /v NonLFNFileSpec /t reg_sz /d "@shell32.dll,-30319" /f

reg add HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\ShellNew\Config /v AllDrives /t reg_sz /f

reg add HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\ShellNew\Config /v IsFolder /t reg_sz /f

reg add HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\ShellNew\Config /v NoExtension /t reg_sz /f

reg add HKEY_USERS\S-1-5-21-950098276-2777319011-3767323484-500\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable\PostSetup\ShellNew /v Classes /t reg_multi_sz /d ".rtf .txt Folder" /f

pause

--------------------------------------------------------------
昨天晚上用上面的解决问题了,运行后,要稍等片刻.

yk1234
发表于 2011-3-15 18:32:43 | 显示全部楼层
本帖最后由 yk1234 于 2011-3-15 18:33 编辑
reg add HKEY_USERS\S-1-5-21-950098276-2777319011-3767323484-500

不客气,这个地方不同机器是不同的吧,应该用HKEY_CURRENT_USER
我发的那个包里面的.reg文件东西要多一些。
您需要登录后才可以回帖 登录 | 快速注册

本版积分规则

手机版|杀毒软件|软件论坛| 卡饭论坛

Copyright © KaFan  KaFan.cn All Rights Reserved.

Powered by Discuz! X3.4( 沪ICP备2020031077号-2 ) GMT+8, 2024-12-24 08:18 , Processed in 0.127086 second(s), 18 queries .

卡饭网所发布的一切软件、样本、工具、文章等仅限用于学习和研究,不得将上述内容用于商业或者其他非法用途,否则产生的一切后果自负,本站信息来自网络,版权争议问题与本站无关,您必须在下载后的24小时之内从您的电脑中彻底删除上述信息,如有问题请通过邮件与我们联系。

快速回复 客服 返回顶部 返回列表