Hi can anyone helpme out in writing a batch file to delete archived log files.
The batch file should delete the files in those folders that meet the criteria(files older than 3 months)and if all the files in the folder are deleted then the folder itself should be deleted.

Recommended Answers

All 2 Replies

A "batch" file, as in a windows script, or a unix shell script. If the first option, then you asking in the wrong forum.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.