Delete command

  • Thread starter Thread starter Joe Cilinceon
  • Start date Start date
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.
 
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.
 
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.
 

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

Back
Top