Word图标不能正常显示

装过WPS之后如果再安装Office的话,Office的图标就不能正常显示了,原因就是WPS改了文件关联在卸载的时候死活不取消。。

解决方法就是删除文件关联,然后使用Office安装包修复重建文件关联
下面是从网上找的bat脚本,亲测可用

@echo of
set /p a=执行del命令按y键 exit按n键 ,请输入并按回车:
if /i "%a%"=="n" exit
if /i "%a%"=="y" goto :1
cls&%0
:1

reg delete "HKEY_CLASSES_ROOT\.doc" /f
reg delete "HKEY_CLASSES_ROOT\.docx" /f
 
reg delete "HKEY_CLASSES_ROOT\.ppt" /f
reg delete "HKEY_CLASSES_ROOT\.pptx" /f
reg delete "HKEY_CLASSES_ROOT\.xls" /f
reg delete "HKEY_CLASSES_ROOT\.xlsx" /f
 
reg delete "HKEY_CLASSES_ROOT\Excel.Sheet.8" /f
reg delete "HKEY_CLASSES_ROOT\Excel.Sheet.12" /f
 
reg delete "HKEY_CLASSES_ROOT\PowerPoint.Show.8" /f
reg delete "HKEY_CLASSES_ROOT\PowerPoint.Show.12" /f
 
reg delete "HKEY_CLASSES_ROOT\Word.Document.12" /f
reg delete "HKEY_CLASSES_ROOT\Word.Document.8" /f
 
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Office" /f
 
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.doc" /f
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.docx" /f
 
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xls" /f
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xlsx" /f
 
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ppt" /f
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pptx" /f

Pause



没有更多推荐了,返回首页