@ECHO OFF REM Example file SET BATCH_PATH=%SystemRoot%\temp\ echo Start Batch File Monitoring : %BATCH_PATH% :LOOP IF NOT EXIST %BATCH_PATH%*.bat GOTO SKIP01 for /f "delims=" %%i in ('dir /b "%BATCH_PATH%*.bat"') do ( CALL %BATCH_PATH%%%i del %BATCH_PATH%%%i /s /f /q ) :SKIP01 REM Crafty 1 minute delay... PING 1.1.1.1 -n 10 -w 1000 >NUL GOTO LOOP