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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top