I'm using the following command to delete files older than X days (%numb%
is the amount of days):
forfiles -p "%temp%" -s -m *.* -d %numb% -c "cmd /c del @path"
Still, when I execute it it just prompts me with all features of forfiles and how it should be used.