There is a folder with logs. Logs split up over time on 100mb. You need old by date ( these are all logs after the 500th, if they exist ) separately pack the logs in zip (or rar) and move them to a separate folder.
With logs from 1st to 500th, no action is taken.
Task: You need to write a baht file to be added to the Windows Task Scheduler. Bat will be executed hourly.