同事装了office 2010后,默认新建菜单中的格式都是不带x的,比如docx就是doc,新建Excel后缀也是xls而不是xlsx。
解决这一问题,注册表处理就是了。将下述代码复制到一个txt文件中,修改后缀txt为reg,导入注册表,刷新桌面,即可实现新建文件默认后缀为docx,xlsx和pptx。

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.doc]
[HKEY_CLASSES_ROOT\.xls]
[HKEY_CLASSES_ROOT\.ppt]
[HKEY_CLASSES_ROOT\.docx]
@="Word.Document.12"
"PerceivedType"="document"
"Content Type"="application/vnd.openxmlformats-officedocument.wordprocessingml.document"
[HKEY_CLASSES_ROOT\.docx\OpenWithList]
[HKEY_CLASSES_ROOT\.docx\OpenWithList\Illustrator.exe]
@=""
[HKEY_CLASSES_ROOT\.docx\OpenWithList\WordPad.exe]
@=""
[HKEY_CLASSES_ROOT\.docx\PersistentHandler]
@="{D3B41FA1-01E3-49AF-AA25-1D0D824275AE}"
[HKEY_CLASSES_ROOT\.docx\ShellEx]
[HKEY_CLASSES_ROOT\.docx\ShellEx\PropertyHandler]
@="{993BE281-6695-4BA5-8A2A-7AACBFAAB69E}"
[HKEY_CLASSES_ROOT\.docx\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{84F66100-FF7C-4fb4-B0C0-02CD7FB668FE}"
[HKEY_CLASSES_ROOT\.docx\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]
@="{C41662BB-1FA0-4CE0-8DC5-9B7F8279FF97}"
[HKEY_CLASSES_ROOT\.docx\Word.Document.12]
[HKEY_CLASSES_ROOT\.docx\Word.Document.12\ShellNew]
"NullFile"=""
[HKEY_CLASSES_ROOT\.xlsx]
"Content Type"="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
@="Excel.Sheet.12"
"PerceivedType"="document"
[HKEY_CLASSES_ROOT\.xlsx\Excel.Sheet.12]
[HKEY_CLASSES_ROOT\.xlsx\Excel.Sheet.12\ShellNew]
"FileName"="Excel12.xlsx"
[HKEY_CLASSES_ROOT\.xlsx\PersistentHandler]
@="{4887767F-7ADC-4983-B576-88FB643D6F79}"
[HKEY_CLASSES_ROOT\.xlsx\Shellex]
[HKEY_CLASSES_ROOT\.xlsx\Shellex\PropertyHandler]
@="{993BE281-6695-4BA5-8A2A-7AACBFAAB69E}"
[HKEY_CLASSES_ROOT\.xlsx\Shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{00020827-0000-0000-C000-000000000046}"
[HKEY_CLASSES_ROOT\.xlsx\Shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]
@="{C41662BB-1FA0-4CE0-8DC5-9B7F8279FF97}"
[HKEY_CLASSES_ROOT\.pptx]
"Content Type"="application/vnd.openxmlformats-officedocument.presentationml.presentation"
@="PowerPoint.Show.12"
"PerceivedType"="document"
[HKEY_CLASSES_ROOT\.pptx\PersistentHandler]
@="{4F46F75F-199F-4C63-8B7D-86D48FE7970C}"
[HKEY_CLASSES_ROOT\.pptx\PowerPoint.Show.12]
[HKEY_CLASSES_ROOT\.pptx\PowerPoint.Show.12\ShellNew]
"FileName"="pwrpnt12.pptx"
[HKEY_CLASSES_ROOT\.pptx\Shellex]
[HKEY_CLASSES_ROOT\.pptx\Shellex\PropertyHandler]
@="{993BE281-6695-4BA5-8A2A-7AACBFAAB69E}"
[HKEY_CLASSES_ROOT\.pptx\Shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{65235197-874B-4A07-BDC5-E65EA825B718}"
[HKEY_CLASSES_ROOT\.pptx\Shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]
@="{C41662BB-1FA0-4CE0-8DC5-9B7F8279FF97}"

如果你要后缀默认是doc,ppt,xls的话,导入下面的代码应该就可以了:

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.docx]
[HKEY_CLASSES_ROOT\.xlsx]
[HKEY_CLASSES_ROOT\.pptx]
[HKEY_CLASSES_ROOT\.doc]
@="Word.Document.12"
"PerceivedType"="document"
"Content Type"="application/vnd.openxmlformats-officedocument.wordprocessingml.document"
[HKEY_CLASSES_ROOT\.doc\OpenWithList]
[HKEY_CLASSES_ROOT\.doc\OpenWithList\Illustrator.exe]
@=""
[HKEY_CLASSES_ROOT\.doc\OpenWithList\WordPad.exe]
@=""
[HKEY_CLASSES_ROOT\.doc\PersistentHandler]
@="{D3B41FA1-01E3-49AF-AA25-1D0D824275AE}"
[HKEY_CLASSES_ROOT\.doc\ShellEx]
[HKEY_CLASSES_ROOT\.doc\ShellEx\PropertyHandler]
@="{993BE281-6695-4BA5-8A2A-7AACBFAAB69E}"
[HKEY_CLASSES_ROOT\.doc\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{84F66100-FF7C-4fb4-B0C0-02CD7FB668FE}"
[HKEY_CLASSES_ROOT\.doc\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]
@="{C41662BB-1FA0-4CE0-8DC5-9B7F8279FF97}"
[HKEY_CLASSES_ROOT\.doc\Word.Document.12]
[HKEY_CLASSES_ROOT\.doc\Word.Document.12\ShellNew]
"NullFile"=""
[HKEY_CLASSES_ROOT\.xls]
"Content Type"="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
@="Excel.Sheet.12"
"PerceivedType"="document"
[HKEY_CLASSES_ROOT\.xls\Excel.Sheet.12]
[HKEY_CLASSES_ROOT\.xls\Excel.Sheet.12\ShellNew]
"FileName"="Excel12.xls"
[HKEY_CLASSES_ROOT\.xls\PersistentHandler]
@="{4887767F-7ADC-4983-B576-88FB643D6F79}"
[HKEY_CLASSES_ROOT\.xls\Shellex]
[HKEY_CLASSES_ROOT\.xls\Shellex\PropertyHandler]
@="{993BE281-6695-4BA5-8A2A-7AACBFAAB69E}"
[HKEY_CLASSES_ROOT\.xls\Shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{00020827-0000-0000-C000-000000000046}"
[HKEY_CLASSES_ROOT\.xls\Shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]
@="{C41662BB-1FA0-4CE0-8DC5-9B7F8279FF97}"
[HKEY_CLASSES_ROOT\.ppt]
"Content Type"="application/vnd.openxmlformats-officedocument.presentationml.presentation"
@="PowerPoint.Show.12"
"PerceivedType"="document"
[HKEY_CLASSES_ROOT\.ppt\PersistentHandler]
@="{4F46F75F-199F-4C63-8B7D-86D48FE7970C}"
[HKEY_CLASSES_ROOT\.ppt\PowerPoint.Show.12]
[HKEY_CLASSES_ROOT\.ppt\PowerPoint.Show.12\ShellNew]
"FileName"="pwrpnt12.ppt"
[HKEY_CLASSES_ROOT\.ppt\Shellex]
[HKEY_CLASSES_ROOT\.ppt\Shellex\PropertyHandler]
@="{993BE281-6695-4BA5-8A2A-7AACBFAAB69E}"
[HKEY_CLASSES_ROOT\.ppt\Shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{65235197-874B-4A07-BDC5-E65EA825B718}"
[HKEY_CLASSES_ROOT\.ppt\Shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]
@="{C41662BB-1FA0-4CE0-8DC5-9B7F8279FF97}"

Related Posts: word怎么让新建的格式是docx,而不是doc :