影刀RPA_論如何像黑客一樣啟動RPA流程???

rem start.bat
@echo off
color 0A
setlocal enabledelayedexpansion
set /a tag=1
for /L %%i in (1,1,6) do (
set "dost=."
for /L %%j in (1,1,10) do (
tasklist /fi "imagename eq ShadowBot.Shell.Console.P*" | find /i "ShadowBot.Shell.Console.P" > nul
if errorlevel 1 (
if !j! lss 2 (
set /a tag=3
start ShadowBot.exe
)
cls
echo Waiting for ShadowBot to start!dost!
if !dost! neq ... (
set "dost=!dost!."
) else (
set "dost=."
)
timeout /t 1 > nul
) else (
echo Waiting for flow to start...
timeout /t !tag! > nul
goto loop
)?
)
)
:loop
set "name=%1.txt"
echo %date% %time% started successfully. >> !name!
rem hello world.bat
call start.bat "%~n0"
標(biāo)簽: