Open Tech Support
Open Tech Support Archives
Back to HomeCommunityReviewsGuidesDownloadsTech LinksMarketplaceContact Us
 »  SITE NAVIGATION
»  OTS Home
»  OTS Forums
»  OTS Archives

»  About our site
»  Search our site
»  Support our site

»  What is this site?
»  Who are we?
 
 
 »  ADVERTISMENT
 
  Pages: 1

Delete files older than 30 days

(Click here to view the original thread with full colors/images)


Posted by: EddieJ300

I am looking for a batch file that will delete files older than 30 days from a certain folder on drive D:\



Posted by: kestrel1

You can make up a batch file for this purpose. I would suggest trying the 'forfiles' command.
You won't have it a standard but you can get it from here:
http://www.dynawell.com/support/ResKit/winnt.asp
To use the command in a batch file look at this:
http://www.jsifaq.com/subL/tip5600/rh5645.htm
Hope this is of some help.
If you have problems writing the batch file get back to me & I will have a look at it for you.



 
Copyright 2000-2008 Open Tech Support.  All Rights Reserved.  Site Design and Development by Tolitz Rosel.