Cmd batch runs 2 programs continuously
If you want to connect × ×, open the OA platform directly and achieve one-click access. Referring to the code of netizens, the results are as follows
@ echo off
Start "title"C:\ Program Files (x86)\ Sangfor\ SSL\ SangforCSClient\ SangforCSClient.exe"
:: deeply convinced × × client
Goto find***
: find***
Tasklist | find "SangforServiceClient.exe"
: × × the above process is generated after the login is successful, and the failure is cycled, otherwise OA is opened.
If errorlevel 1 (
Goto find***
) Else (
Explorer "http://192.29.1.96:8080/oa"
)
Finally, it is converted to EXE program through Bat_To_Exe_Converter.
Http://www.f2ko.de/en/b2e.php
Reference link
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