• sublime text3添加到右键菜单open with sublime text3


    str3Path换成自己的sublime text3程序地址即可

    @echo off
    SET st3Path=D:scoopappssublime-text3.2.2-3211sublime_text.exe
    rem add it for all file types
    @reg add "HKEY_CLASSES_ROOT*shellOpen with Sublime Text 3"         /t REG_SZ /v "" /d "Open with Sublime Text 3"   /f
    @reg add "HKEY_CLASSES_ROOT*shellOpen with Sublime Text 3"         /t REG_EXPAND_SZ /v "Icon" /d "%st3Path%,0" /f
    @reg add "HKEY_CLASSES_ROOT*shellOpen with Sublime Text 3command" /t REG_SZ /v "" /d "%st3Path% "%%1"" /f
    rem add it for folders
    @reg add "HKEY_CLASSES_ROOTFoldershellOpen with Sublime Text 3"         /t REG_SZ /v "" /d "Open with Sublime Text 3"   /f
    @reg add "HKEY_CLASSES_ROOTFoldershellOpen with Sublime Text 3"         /t REG_EXPAND_SZ /v "Icon" /d "%st3Path%,0" /f
    @reg add "HKEY_CLASSES_ROOTFoldershellOpen with Sublime Text 3command" /t REG_SZ /v "" /d "%st3Path% "%%1"" /f
    pause
    

    实际效果

  • 相关阅读:
    《机器学习实战》K近邻算法
    第 4 章 单例模式
    第 3 章 闭包和高阶函数
    第2章 this 、 call 和 apply
    第1章 面向对象的JavaScript
    前言 发展历史
    Linux常用的基本命令
    VLSM
    IP编址和子网划分
    RADIUS操作命令
  • 原文地址:https://www.cnblogs.com/codhome/p/13624298.html
Copyright © 2020-2023  润新知