zoukankan      html  css  js  c++  java
  • 在鼠标右键添加“使用WPS打开”

    假设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"

  • 相关阅读:
    第24课 多线程开发
    第23课 装饰器
    第22课 调用外部程序
    第20课 异常处理
    第19课 习题讲解
    第18课 面向对象
    第17课 调试程序
    第16课 pycharm 使用
    第15课 模块与包
    第14课 再识函数
  • 原文地址:https://www.cnblogs.com/mahocon/p/5690539.html
Copyright © 2011-2022 走看看