« Previous Next »

Thread: Is there a option in IIS to delete files that are older than 5 days

Last post 11-25-2008 1:29 PM by murtaza_t. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 11-21-2008, 10:31 AM

    Is there a option in IIS to delete files that are older than 5 days

    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

     

  • 11-21-2008, 10:32 AM In reply to

    Re: Is there a option in IIS to delete files that are older than 5 days

    No not that I know of.

  • 11-23-2008, 11:27 PM In reply to

    Re: Is there a option in IIS to delete files that are older than 5 days

    you will need to write a script to check the date and delete it.
    Cheers,
    Bernard Cheah
  • 11-25-2008, 1:29 PM In reply to

    Re: Is there a option in IIS to delete files that are older than 5 days

     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"

Page 1 of 1 (4 items)
Microsoft Communities