Crmgo Blog

cmd

← Blog

#cmd

Posts: 1

Recursive deletion of files by mask

Recursive deletion of files by mask

· cmd

forfiles.exe /p "L:\backup\evenings" /s /m *.dll /d -3 /c "cmd /c del /q /f @file" /d -3 - delete files older than 3 days "L:\backup\evenings" - path where the search is performed *.dll - mask