Computing.Net > Forums > Windows XP > Batch file to delete by date

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batch file to delete by date

Reply to Message Icon

Name: andynewbie
Date: June 3, 2005 at 04:18:35 Pacific
OS: XP
CPU/Ram: xxx
Comment:

HI i am totally new at writting batch files so forgive me if i dont understand

I am trying to create a batch file that deletes files in a certain directory, by date for example on wednesday it deletes tuesdays reports,
however on a monday the systems runs reports that i need for the whole week and dont wont to delte them till the following monday,
if you can understand that could some one please help me

cheers




Sponsored Link
Ads by Google

Response Number 1
Name: Bryco
Date: June 3, 2005 at 05:04:14 Pacific
Reply:

Place the weekly files into a weekly folder and run a different batch file to manage that folder.

Bryan


0

Response Number 2
Name: andynewbie
Date: June 3, 2005 at 06:03:57 Pacific
Reply:

Cheers Bryco but the reports are produced by a program and can not be moved from there current directory they can only be deleted or left


0

Response Number 3
Name: andynewbie
Date: June 6, 2005 at 03:48:42 Pacific
Reply:

can anyone else help


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Batch file to delete by date

Batch file to put create date www.computing.net/answers/windows-xp/batch-file-to-put-create-date/179127.html

Batch file to delete files +60 days www.computing.net/answers/windows-xp/batch-file-to-delete-files-60-days/149698.html

Batch file to clear internet files www.computing.net/answers/windows-xp/batch-file-to-clear-internet-files/43849.html