@echo off
set max_days=15


set log_path="D:\backup_new"

forfiles /p %log_path% /s /m *.* /d -%max_days% /c "cmd /c del /q @path"

相关文章: