What to delete the folder & contents based on how old the folder is .... I.e Last modified
Trying to use this command but can't use the /y tag for the Del part of the command in the statement
FORFILES -p C:\Backup\gpo_backups\ -d 100 -c "CMD /C IF @ISDIR==True Del @File"
The statement is for the FORFILES and the DEL is allowed as a one off.
Any help much appreciated
Trying to use this command but can't use the /y tag for the Del part of the command in the statement
FORFILES -p C:\Backup\gpo_backups\ -d 100 -c "CMD /C IF @ISDIR==True Del @File"
The statement is for the FORFILES and the DEL is allowed as a one off.
Any help much appreciated