ForFiles /p "C:\path\to\folder" /s /d -7 /c "cmd /c del /q @file"or
ForFiles -p "C:\path\to\folder" -s -m *.bak -d -7 -c "Cmd /C del @FILE"- Go to action tab
- On program/script input insert
ForFiles - On argument input paste the rest of the command
- Save