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,
--
Chuck W

Re: Created schedule task that deletes a pdf each day by Pegasus

Pegasus
Tue Jan 08 07:56:37 PST 2008


"ChuckW" <haji@hotmail.com> wrote in message
news:CC311E0B-47AF-4498-A76F-844029977BE2@microsoft.com...
> 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,
> --
> Chuck W

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

Simple, isn't it? Enjoy!