When I run the following code
Forfiles -p. -s -m*.* -d-1 -c "Cmd /C del @FILE"
I get an error
can't execute (error 2)
I am trying to create a batch file that at startup will delete all files older than today in 2 directories. This code, as I test, only works on the current directory
Any thoughts are greatly appreciated.