CODE: [Copy to clipboard]@echo off set apath=d:\sql\test.sql :start if exist %apath% del %apath% /f goto :start pause