@echo off
start "title" "C:\Program Files (x86)\Sangfor\SSL\SangforCSClient\SangforCSClient.exe"
::深信服×××客户端
goto find***
:find***
tasklist | find "SangforServiceClient.exe"
::×××登录成功后生成以上进程,失败就循环,否则就打开OA
If errorlevel 1 (
goto find***
) Else (
explorer "http://192.29.1.96:8080/oa"
)
参考链接
https://jingyan.baidu.com/article/4dc40848bdc5d1c8d946f1d6.html
https://zhidao.baidu.com/question/2266125360462123628.html
https://www.jb51.net/article/18980.htm
https://jingyan.baidu.com/article/922554466194df851648f4ba.html
https://zhidao.baidu.com/question/488934464701039292.html
原文:http://blog.51cto.com/551173/2332020