@echo off for /F %%i in ('schtasks /query /nh /fo table ^|find /i "GoogleUpdate"') do ( echo %%i REM schtasks /delete /tn %%i /f ) pause