在鼠标右键添加“使用WPS打开”

假设WPS安装在 “D:\Program Files\Kingsoft\WPS Office” 目录下,导入以下注册表内容:

 

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\WPS打开]
@="用WPS打开"
"icon"="D:\\Program Files\\Kingsoft\\WPS Office\\ksolaunch.exe,3"

[HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\WPS打开\command]
@="D:\\Program Files\\Kingsoft\\WPS Office\\ksolaunch.exe" /et /fromksolaunch "%1"

[HKEY_CLASSES_ROOT\Excel.Sheet.8\shell\WPS打开]
@="用WPS打开"
"icon"="D:\\Program Files\\Kingsoft\\WPS Office\\ksolaunch.exe,3"

[HKEY_CLASSES_ROOT\Excel.Sheet.8\shell\WPS打开\command]
@="D:\\Program Files\\Kingsoft\\WPS Office\\ksolaunch.exe" /et /fromksolaunch "%1"

[HKEY_CLASSES_ROOT\Word.Document.12\shell\WPS打开]
@="用WPS打开"
"icon"="D:\\Program Files\\Kingsoft\\WPS Office\\ksolaunch.exe,1"

[HKEY_CLASSES_ROOT\Word.Document.12\shell\WPS打开\command]
@="D:\\Program Files\\Kingsoft\\WPS Office\\ksolaunch.exe" /wps /w /fromksolaunch "%1"

[HKEY_CLASSES_ROOT\Word.Document.8\shell\WPS打开]
@="用WPS打开"
"icon"="D:\\Program Files\\Kingsoft\\WPS Office\\ksolaunch.exe,1"

[HKEY_CLASSES_ROOT\Word.Document.8\shell\WPS打开\command]
@="D:\\Program Files\\Kingsoft\\WPS Office\\ksolaunch.exe" /wps /w /fromksolaunch "%1"

posted @ 2016-07-21 09:31  mahocon  阅读(3084)  评论(0编辑  收藏  举报