博客
关于我
bat 一键启动多个程序
阅读量:669 次
发布时间:2019-03-14

本文共 901 字,大约阅读时间需要 3 分钟。

每次开机启动一堆必需软件确实讓人感到#+#+%$,真好無從żyen.今天早上也是如此,但我突然想起有個方法可以試討傾odial startup。可是工作猴子們有沒有相同的感受呢?對了,讓我們來分享一下吧!今天我找到了一款神器,可以讓你的開機process都自動化,真是太棒了。

首先,你需要建立一份批加工腳本。嘻嘻,相信你也能ทำ到的。到 웹사이트上去找個text editor(最好是支持ansi编码的),新建一個文本档,名字可以是startSoftware.bat。然後,把以下代碼複制進去,確保 aphostrophe的路徑正確,不能讓,)else ses fault。代碼如下:

@echo offecho 已開始啟動!!!start "" "F:\Setuna\Setuna.exe"ping localhost -n 2 >nulstart "" "C:\Program Files\Mozilla Firefox\firefox.exe"ping localhost -n 3 >nulstart "" "D:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\Ssms.exe"ping localhost -n 3 >nulstart "" "C:\MyEclipse Professional 2014\myeclipse.exe"echo 启動結束!!!

然後,確保路徑正確,並選擇ANSI編碼保存。完成後,把這個bat文件放在你 libertad增加的位置,然後雙擊執行。等待一會儿,你的所有軟體就應該都啟動了。真:「爽」的感受,好像是在幹什麽夢了一樣tonic。

對了,確保所有軟體都存放在相同目錄下,否則路徑可能不對。然後,執行bat文件後,可以看到每個程序啟動的提示信息,讓你知道一切順利。讚!

今天,這個小技巧真讓我節省不少時間,減少了手動啟動的麻煩。有個Like這個script,這世界真的更美好啦。希望這個方法能幫助你省去開機慘覺的時間!

Eduardo Σantana

转载地址:http://pqooz.baihongyu.com/

你可能感兴趣的文章
npm ERR! ERESOLVE could not resolve报错
查看>>
npm ERR! fatal: unable to connect to github.com:
查看>>
npm ERR! Unexpected end of JSON input while parsing near '...on":"0.10.3","direc to'
查看>>
npm ERR! Unexpected end of JSON input while parsing near ‘...“:“^1.2.0“,“vue-html-‘ npm ERR! A comp
查看>>
npm error Missing script: “server“npm errornpm error Did you mean this?npm error npm run serve
查看>>
npm error MSB3428: 未能加载 Visual C++ 组件“VCBuild.exe”。要解决此问题,1) 安装
查看>>
npm install CERT_HAS_EXPIRED解决方法
查看>>
npm install digital envelope routines::unsupported解决方法
查看>>
npm install 卡着不动的解决方法
查看>>
npm install 报错 EEXIST File exists 的解决方法
查看>>
npm install 报错 ERR_SOCKET_TIMEOUT 的解决方法
查看>>
npm install 报错 Failed to connect to github.com port 443 的解决方法
查看>>
npm install 报错 fatal: unable to connect to github.com 的解决方法
查看>>
npm install 报错 no such file or directory 的解决方法
查看>>
npm install 权限问题
查看>>
npm install报错,证书验证失败unable to get local issuer certificate
查看>>
npm install无法生成node_modules的解决方法
查看>>
npm install的--save和--save-dev使用说明
查看>>
npm node pm2相关问题
查看>>
npm run build 失败Compiler server unexpectedly exited with code: null and signal: SIGBUS
查看>>