Delete command

J

Joe Cilinceon

I'm looking for they syntax to delete a batch of pdf files in a folder under
my application. What I do is create a series of PDF files then combine them
using PDFEdit from my app. Once combined they the file is named and saved to
a subfolder called Previous. I would like to dump the older pdf used for the
combine procedure, which are left behind and no longer needed. I trying to
code it into my code on producing the reports.
 
R

Rick Brandt

Joe said:
I'm looking for they syntax to delete a batch of pdf files in a
folder under my application. What I do is create a series of PDF
files then combine them using PDFEdit from my app. Once combined they
the file is named and saved to a subfolder called Previous. I would
like to dump the older pdf used for the combine procedure, which are
left behind and no longer needed. I trying to code it into my code on
producing the reports.

If you can delete all pdfs in the folder you can use...

Kill "PathToFolder\*.pdf"

Otherwise you will need to repeat the above for each specific file you want to
delete.
 
J

Joe Cilinceon

Rick said:
If you can delete all pdfs in the folder you can use...

Kill "PathToFolder\*.pdf"

Otherwise you will need to repeat the above for each specific file
you want to delete.

Thanks Rick exactly what I needed.
 
Top