想链接×××后直接打开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