Batch script to delete file older than 30 day [Solved] - Kioskea This command can be saved in a .bat file and scheduled with scheduled tasks. forfiles /p "PATH" /s /d -30 /c "cmd /c del @file : date >= 30 days >NUL"...