I am trying to remove all zip files from the F:\ACT\ACT-Offsitebkp directory on my server that are greater than 2 days old. I cannot seem to get this to work on my server. It works locally when I test it and the directory is c:\ACT\ACT-offsitebkp\
Forfiles -pf:\ACT\ACT-offsitebkp\ *.zip -d-2 -c"CMD /C del @FILE"
I think I am missing something small any help would be appreciated