Archive files with Window Batch script

Any idea how to write a window batch script such that it will deletes all files with 7 days ago ?

Tkx
AXISHKAsked:
Who is Participating?
 
Venugopal NCommented:
Refer the link which will help you to write the script to delete file older than x days.
http://www.chebucto.ns.ca/~ak621/DOS/Bat-Adv3.html#OLD
0
 
julian_bruntCommented:
Hate to point you at another site, but these guys have kinda discussed the topic to death...
http://stackoverflow.com/questions/51054/batch-file-to-delete-files-older-than-n-days

Yo ucould also consider using WSH scripts (e.g. vbs) which are a little morestraight forward to write
0
 
AXISHKAuthor Commented:
Any sample for that ?

Tkx
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
AXISHKAuthor Commented:
I've requested that this question be deleted for the following reason:

No feedback.
0
 
Venugopal NCommented:
Please go throught the Link which i have provided, which have the sample for it
0
 
AXISHKAuthor Commented:
Tks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.