Does any one know if it is possible to use the “Delete File” in an automation script to delete multiple files in a folder?
I have create an automation script that generates numbered PDF file for order confirmation notes for that days orders
Ie Order1.pdf, Order2.pfd
The PDF’s are placed into a folder, the folder is then zipped and emailed.
This works fine but I have a problem when the script runs on the next day and generates a new set of PDF files then the files from the previous day are still in the folder which get zipped.
Is there are way to delete multiple files using a wildcard character?
I can use the “Delete File” to delete a single named file but not multiples.
Any suggestions would be most useful