Removing some log files

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can someone tell me how I can schedule the system to remove a certain log
files per a week? Thank you.
 
Mking said:
Can someone tell me how I can schedule the system to remove a certain log
files per a week? Thank you.

1. Create a batch file c:\WinNT\DelLogs.bat
2. Place these lines inside:
@echo off
del "c:\Some Folder\Some Files.log"
3. Use the Task Scheduler via the Control Panel
to schedule c:\WinNT\DelLogs.bat to run once
every week at the preferred time.
 
Back
Top