365 and didn't show/print anything" /> 365 and didn't show/print anything" /> 365 and didn't show/print anything"/>

I want to delete a stale files which is >365 days along with print the list of files are deleted in cmd via batchfile(.bat)

67 Views Asked by At
forfiles /p "C:\Testing" /s /m *.* /D -365 /C "cmd /c del @path"

above code just deleting the files which is >365 and didn't show/print anything

0

There are 0 best solutions below