批处理 自动关闭、启动进程

    xiaoxiao2021-03-25  58

    ::关闭sourceinsight 3工程 ::重新打开刚才关闭的工程 ::由于utf-8编码插件不能同步文件的外部编辑器修改 ::所以必须重新启动,用以加载最新的修改 @echo off    if "%1" == "h" goto begin    mshta vbscript:createobject("wscript.shell").run("%~nx0 h",0)(window.close)&&exit    :begin  ::下面是你自己的代码 taskkill /im  Insight3.exe /f D:\vcprj\CrcDemo\prj\crc.PR exit quit
    转载请注明原文地址: https://ju.6miu.com/read-38692.html

    最新回复(0)