我要小红旗~
复制下面的信息到记事本中,然后另存为 *.reg格式的文件。
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.doc]
@="Word.Document.8"
"Content Type"="application/msword"
[HKEY_CLASSES_ROOT\.doc\OpenWithList]
[HKEY_CLASSES_ROOT\.doc\OpenWithList\WordPad.exe]
@=""
[HKEY_CLASSES_ROOT\.doc\PersistentHandler]
@="{98de59a0-d175-11cd-a7bd-00006b827d94}"
[HKEY_CLASSES_ROOT\.doc\ShellNew]
[HKEY_CLASSES_ROOT\.doc\Word.Document.6]
[HKEY_CLASSES_ROOT\.doc\Word.Document.6\ShellNew]
"FileName"="winword.doc"
[HKEY_CLASSES_ROOT\.doc\Word.Document.8]
[HKEY_CLASSES_ROOT\.doc\Word.Document.8\ShellNew]
"FileName"="winword8.doc"
[HKEY_CLASSES_ROOT\.doc\WordDocument]
[HKEY_CLASSES_ROOT\.doc\WordDocument\ShellNew]
"FileName"="winword2.doc"
[HKEY_CLASSES_ROOT\.doc\WordPad.Document.1]
[HKEY_CLASSES_ROOT\.doc\WordPad.Document.1\ShellNew]
"NullFile"=""
-----------------------------------
以下是新建EXCEL文档的注册信息(.xls)
-----------------------------------
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.xls]
"Content Type"="application/vnd.ms-excel"
@="Excel.Sheet.8"
[HKEY_CLASSES_ROOT\.xls\Excel.Sheet.5]
[HKEY_CLASSES_ROOT\.xls\Excel.Sheet.5\ShellNew]
"FileName"="excel.xls"
[HKEY_CLASSES_ROOT\.xls\Excel.Sheet.8]
@=""
[HKEY_CLASSES_ROOT\.xls\Excel.Sheet.8\ShellNew]
"FileName"="excel9.xls"
[HKEY_CLASSES_ROOT\.xls\ExcelWorksheet]
[HKEY_CLASSES_ROOT\.xls\ExcelWorksheet\ShellNew]
"FileName"="excel4.xls"
[HKEY_CLASSES_ROOT\.xls\PersistentHandler]
@="{98de59a0-d175-11cd-a7bd-00006b827d94}"
-----------------------------------
以下是powerpiont幻灯片文档的注册信息(.ppt)
-----------------------------------
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.ppt]
"Content Type"="application/vnd.ms-powerpoint"
@="PowerPoint.Show.8"
[HKEY_CLASSES_ROOT\.ppt\PersistentHandler]
@="{98de59a0-d175-11cd-a7bd-00006b827d94}"
[HKEY_CLASSES_ROOT\.ppt\PowerPoint.Show.4]
[HKEY_CLASSES_ROOT\.ppt\PowerPoint.Show.4\ShellNew]
"FileName"="powerpnt.ppt"
[HKEY_CLASSES_ROOT\.ppt\PowerPoint.Show.8]
[HKEY_CLASSES_ROOT\.ppt\PowerPoint.Show.8\ShellNew]
"FileName"="pwrpnt11.pot"
除了上面的添加office相关右键菜单外,还有其他添加右键菜单的
1、在所有的文件右键菜单中加入命令
(1).打开“HKEY_CLASSES_ROOT\*”;
(2).在其下新建“shell\命令\command”分支,再将command的键值设为执行该命令时所用的可执行程序的绝对路径,并在其后加“%1”即可。
例:在“HKEY_CLASSES_R
OOT\*”下新建“shell\用写字板打开\command”子键,将command的键值设为“c:\windows\notepad.exe
取消
评论