假设WPS安装在 “D:Program FilesKingsoftWPS Office” 目录下,导入以下注册表内容:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOTExcel.Sheet.12shellWPS打开]
@="用WPS打开"
"icon"="D:\Program Files\Kingsoft\WPS Office\ksolaunch.exe,3"
[HKEY_CLASSES_ROOTExcel.Sheet.12shellWPS打开command]
@="D:\Program Files\Kingsoft\WPS Office\ksolaunch.exe" /et /fromksolaunch "%1"
[HKEY_CLASSES_ROOTExcel.Sheet.8shellWPS打开]
@="用WPS打开"
"icon"="D:\Program Files\Kingsoft\WPS Office\ksolaunch.exe,3"
[HKEY_CLASSES_ROOTExcel.Sheet.8shellWPS打开command]
@="D:\Program Files\Kingsoft\WPS Office\ksolaunch.exe" /et /fromksolaunch "%1"
[HKEY_CLASSES_ROOTWord.Document.12shellWPS打开]
@="用WPS打开"
"icon"="D:\Program Files\Kingsoft\WPS Office\ksolaunch.exe,1"
[HKEY_CLASSES_ROOTWord.Document.12shellWPS打开command]
@="D:\Program Files\Kingsoft\WPS Office\ksolaunch.exe" /wps /w /fromksolaunch "%1"
[HKEY_CLASSES_ROOTWord.Document.8shellWPS打开]
@="用WPS打开"
"icon"="D:\Program Files\Kingsoft\WPS Office\ksolaunch.exe,1"
[HKEY_CLASSES_ROOTWord.Document.8shellWPS打开command]
@="D:\Program Files\Kingsoft\WPS Office\ksolaunch.exe" /wps /w /fromksolaunch "%1"