Delete files


When you have finalized the template development, clean up the publishing folder with a Delete Files action. Use the vbs file to delete files, or define a Delete Files action per file type.

  • Add the delete files action with the vbs to the publishing profile:

  1. Open the PDF ProCSS publishing profile, Actions tab.

  2. Make sure that the Before Publishing Copy Action includes all vbs files. The copy action is used to bypass any security issues with running a vbs over a network. A bat file can also be used, if vbs is not allowed.

  1. Open the deletefiles.vbs in a text editor to verify the extensions of the files that should be deleted.

  2. Add a Command Line action after the Create PDF output action, to delete all files except the PDF.