I am running a Windows 2000 server which recieves a copy of a text file that was created by UNIX/Cobol application. What I want to have the ability to achieve is to delete these text files automatically on a certain day but leaving that weeks worth of text files on the server. So basically I want to automate deleting last weeks text files while leaving this weeks. Can a batch file be written that will check the date of the file and compare against the server calendar to make the deletion decision? If so how?