@echo off chcp 1251 for %%d in (*Ä33) do del "%%d\*.LDP" | del "%%d\*.LDP" del "%~f0"