I have a script to delete files older than 3 months but it suddenly stopped working? I'm not sure what's going on..
Here's the script:
Forfiles -p"D:\share\share\share" -s -m*.* -d-3 -c"CMD /c Del @File : date -30 days"
I'm getting an error that says invalid arguement/option -pD:\...