Deleting one file on a daily schedule

  • Thread starter Thread starter John Brainerd
  • Start date Start date
J

John Brainerd

I want to delete a file on a daily basis automatically...that is, on a schedule. How do I do this in XP Home? The scheduler doesn't seem to have the functionality to do this.
 
Write a one line bat file containing

DEL C:\path\filename.ext

Schedule that to run at the time desired.
 
I tried the following but it doesn't work in XP home. What am I doing
wrong? Thanks.

C:\WINDOWS\system32\cmd.exe del "C:\Documents and
Settings\Jess\Desktop\Outlook\onyx.txt"
 
Back
Top