Created schedule task that deletes a pdf each day

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,
 
P

Pegasus \(MVP\)

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!
 

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

Top