I am using the following forfiles command as a scheduled task to remove all files over 7 days old from a directory structure on my server. However i am unable to find a way to suppress the delete confirmation dialogue when the command runs.
Command is - FORFILES -p D:\Public -s -m *.* -d -7 -c "CMD /C del @FILE"
could anyone please adivse on how to modify the above command so it suppresses the delete confirmation?