Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@echo off
rem ==========================
set interval=45
rem 检测间隔,单位:秒
rem ==========================
:LOOP
cls
@echo 执行机远程操控任务检测中 请勿关闭此框 %random%
if exist D:\ExecTask\ExecTask.bat (
cd /d D:\ExecTask
call ExecTask.bat
)
if exist D:\ExecTask\ExecTask.bat del /f /q D:\ExecTask\ExecTask.bat>nul
choice /t %interval% /d y /n >nul
goto LOOP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.