启动frp进程
@echo off
cd "C:\Users\z\Desktop\frpc"
if "%1" == "h" goto begin
mshta vbscript:createobject("wscript.shell").run("%~nx0 h",0)(window.close)&&exit
:begin
frpc.exe -c frpc.ini
定时检查进程是否存在,不存在则重新调用启动进程脚本启动
@echo off
set process_name="frpc.exe"
tasklist | findstr /i %process_name% >nul 2>&1
if errorlevel 1 (
echo not exist
call call C:\Users\z\Desktop\frpc\start.bat
) else (
echo exist
)
exit