@echo off set /a num=5 :Cir for /l %%i in (1,1,2000) do echo off set /a num=%num%-1 if not %num%==0 goto Cir cd /d %~dp0 start "" "Auto_Search.exe" exit