Click here to Skip to main content
15,891,744 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi for all

We have log folder and I want to comprise (Archive) those loges end of month

So can any person help me to achieve this job through winrar application

Appreciate your help:)
Posted

1 solution

Create a scheduled task with something like this (or put it in a .cmd file first)

MSIL
"C:\Program Files\WinRAR\WinRAR.exe" a -u -r "D:\BACKUP\Backup.rar" "D:\LOGS\*.*"


Good luck.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900