Delete the files from the local folder as per the specific dates,
For example if you want to delete the files 7 days before, use the below command:
- forfiles /p "<<File location>>" /s /m *.* /d -7 /c "cmd /c del @path"
-
- <<File location>> --> L;ocation of the files.
- -7 --> No of days