陈晓猫

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: :: 管理 ::

右击菜单一键优化(增加新建office2003、新建reg和bat,删除新建公文包、新建wps、新建rar)

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.doc]
@="Word.Document.8"
"Content Type"="application/msword"
"ContentType"="application/msword"

[HKEY_CLASSES_ROOT\.doc\Word.Document.8\ShellNew]
"FileName"="winword8.doc"

[HKEY_CLASSES_ROOT\.xls]
"Content Type"="application/vnd.ms-excel"
@="Excel.Sheet.8"

[HKEY_CLASSES_ROOT\.xls\Excel.Sheet.8]
@=""

[HKEY_CLASSES_ROOT\.xls\Excel.Sheet.8\ShellNew]
"FileName"="excel9.xls"

[HKEY_CLASSES_ROOT\.xls\PersistentHandler]
@="{98de59a0-d175-11cd-a7bd-00006b827d94}"

[HKEY_CLASSES_ROOT\.bat\ShellNew]
"NullFile"=""
"filename"="*.bat"

[HKEY_CLASSES_ROOT\.reg\ShellNew]
"NullFile"=""
"filename"="*.reg"

[HKEY_CLASSES_ROOT\.bfc\ShellNew]
"Command"=-

[HKEY_CLASSES_ROOT\.wps\WPS.Document.6\ShellNew]
"FileName"=-

[HKEY_CLASSES_ROOT\.et\ET.Workbook.6\ShellNew]
"FileName"=-

[HKEY_CLASSES_ROOT\.dps\WPP.Presentation.6\ShellNew]
"FileName"=-

[HKEY_CLASSES_ROOT\.rar\ShellNew]
"FileName"=-

[HKEY_CLASSES_ROOT\.zip\ShellNew]
"FileName"=-

 

@echo off
reg add "HKCR\.doc" /ve /d "Word.Document.8" /f
reg add "HKCR\.doc" /v "Content Type" /d "application/msword" /f
reg add "HKCR\.doc" /v "ContentType" /d "application/msword" /f
reg add "HKCR\.doc\Word.Document.8\ShellNew" /v "FileName" /d "winword8.doc" /f
reg add "HKCR\.xls" /v "Content Type" /d "application/vnd.ms-excel" /f
reg add "HKCR\.xls" /ve /d "Excel.Sheet.8" /f
reg add "HKCR\.xls\Excel.Sheet.8" /ve /d "" /f
reg add "HKCR\.xls\Excel.Sheet.8\ShellNew" /v "FileName" /d "excel9.xls" /f
reg add "HKCR\.xls\PersistentHandler" /ve /d "{98de59a0-d175-11cd-a7bd-00006b827d94}" /f
reg add "HKCR\.bat\ShellNew" /v "NullFile" /d "" /f
reg add "HKCR\.bat\ShellNew" /v "filename" /d "*.bat" /f
reg add "HKCR\.reg\ShellNew" /v "NullFile" /d "" /f
reg add "HKCR\.reg\ShellNew" /v "filename" /d "*.reg" /f
reg delete "HKCR\.bfc\ShellNew" /v "Command" /f
reg delete "HKCR\.wps\WPS.Document.6\ShellNew" /v "FileName" /f
reg delete "HKCR\.et\ET.Workbook.6\ShellNew" /v "FileName" /f
reg delete "HKCR\.dps\WPP.Presentation.6\ShellNew" /v "FileName" /f
reg delete "HKCR\.rar\ShellNew" /v "FileName" /f
reg delete "HKCR\.zip\ShellNew" /v "FileName" /f

 

posted on 2017-12-06 09:20  陈晓猫  阅读(442)  评论(0编辑  收藏  举报