Home › Forums › IIS 5.x & 6.0 › General › Is there a option in IIS to delete files that are older than 5 days
« Previous Next »
Last post 11-25-2008 1:29 PM by murtaza_t. 3 replies.
Average Rating Rate It (5)Thank you for the rating!
Page 1 of 1 (4 items)
Sort Posts: Oldest to newest Newest to oldest
Hi,
I'm a new tech on my work experience part of my training and I need help with a question. Is there a way I can delete files in FTP using IIS setting to delete data after 5 days. I have to conserve space.
Thanks in advance for all your help.
SO
No not that I know of.
The command below will delete 5 days older files in logs folder:
FORFILES /p C:\LOGS /s /m *.* /d -5 /c "CMD /C del /Q @FILE"