Created schedule task that deletes a pdf each day

  • Thread starter Thread starter ChuckW
  • Start date Start date
C

ChuckW

Hi,

I want to create a scheduled task that deletes a pdf file each day. I am
familiar with scheduled tasks for running jobs. How would I create a job
that would delete the same pdf file in the same location each day? Would I
create some sort of batch file and what would the code be for this?

Thanks,
 
ChuckW said:
Hi,

I want to create a scheduled task that deletes a pdf file each day. I am
familiar with scheduled tasks for running jobs. How would I create a job
that would delete the same pdf file in the same location each day? Would
I
create some sort of batch file and what would the code be for this?

Thanks,

Here is the code for your batch file:
@echo off
del "c:\documents and Settings\ChuckW\Desktop\abcxyz.pdf"

Simple, isn't it? Enjoy!
 
Back
Top