Deleting Files Automatically

Results 1 to 2 of 2

Thread: Deleting Files Automatically

  1. #1
    Join Date
    Dec 1969

    Default Deleting Files Automatically

    I have a folder on my web server which I use to allow users to upload files to. However, these files need to be deleted at the end of each day. Is there a way these files can be deleted automatically every 24 hours? I was thinking WSH would be the best way but I'm not sure how to write a script for this. Thanks.

  2. #2
    Join Date
    Dec 1969

    Default Just use command line AT...

    at 00:00 /every:Monday,Tuesday,Wednesday,Thursday,Friday "delete c:*.*"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts