想鏈接×××後直接打開OA平臺,實現一鍵訪問。參考了網友們的代碼結果以下php
@echo off
start "title" "C:\Program Files (x86)\Sangfor\SSL\SangforCSClient\SangforCSClient.exe"
::深信服×××客戶端
goto find*** html
:find***
tasklist | find "SangforServiceClient.exe"
::×××登陸成功後生成以上進程,失敗就循環,不然就打開OA
If errorlevel 1 (
goto find***
) Else (
explorer "http://192.29.1.96:8080/oa"
)ide
參考連接
https://jingyan.baidu.com/article/4dc40848bdc5d1c8d946f1d6.html
https://zhidao.baidu.com/question/2266125360462123628.html
https://www.jb51.net/article/18980.htm.net
https://jingyan.baidu.com/article/922554466194df851648f4ba.html
https://zhidao.baidu.com/question/488934464701039292.htmlhtm