psexec.exe工具:html
https://blog.csdn.net/feier7501/article/details/8841756python
https://www.cnblogs.com/boltkiller/articles/4791307.htmllinux
http://www.javashuo.com/article/p-wrajrmys-dx.htmlchrome
https://blog.csdn.net/feier7501/article/details/8847172windows
問題背景:瀏覽器
自動化部署以前一直都是linux文件互傳或者linux和windows之間,如今有一個windows到windows的,在網上一直沒有合適的方案。服務器
解決方案:工具
一、使用python命令使局域網其餘機器能夠訪問jar包所在機器(A機器)網站
二、在服務器(B機器)上使用start http://192.168.207.39/exp_server-1.0.zip命令下載該應用包(也能夠直接在A機器上使用psexec.exe工具鏈接B機器的cmd執行start http://192.168.207.39/exp_server-1.0.zip命令)spa
三、啓動對應jar
#啓動chrome瀏覽器指定網址 start "C:\Program Files\Google\Chrome\Application\chrome.exe" http://www.weibo.com/ #默認瀏覽器打開網站 start iexplore.exe www.baidu.com 或者 start www.baidu.com #使用IE打開指定網址 explorer http://www.weibo.com