Delete Directory before PDF-Tools compressed

This Forum is for the use of End Users requiring help and assistance for Tracker Software's PDF-Tools.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

Post Reply
Nimrod_189
User
Posts: 35
Joined: Wed Sep 23, 2009 8:39 am

Delete Directory before PDF-Tools compressed

Post by Nimrod_189 »

Hello folks,

I would like to use the PDF tools to automatically compress files into a tmp directory after selection. That works great.

Now I always want to empty the directory first.

Does anyone know how to add a delete command to the batch statement?

Thanks.

Nimrod
User avatar
Paul - Tracker Supp
Site Admin
Posts: 6813
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Delete Directory before PDF-Tools compressed

Post by Paul - Tracker Supp »

Hi Nimrod,

Tools itself does not have such a functionality. I spoke to the dev team leader about this and he is not keen to add such a feature as it has the potential to cause data loss if used incorrectly. With the best will in the world, we do not want to be responsible for user's data loss.

I suggest you continue cleaning that out prior to running the tool as you are now. How do you call the tool? If it is a script of some kind you could always do a check for files in the folder and delete them prior to calling PDF-Tools.

Sorry there is not a way currently to do that from within PDF-Tools.
Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Nimrod_189
User
Posts: 35
Joined: Wed Sep 23, 2009 8:39 am

Re: Delete Directory before PDF-Tools compressed

Post by Nimrod_189 »

Thank you for the info.

I can understand the concerns and I think they are good. But it would be nice if there was a way add a batch command for doing this.

Or is it possible to run a PDF-Tool by Batch or VBSript?

That would be enough for me.

Nimrod
Nimrod_189
User
Posts: 35
Joined: Wed Sep 23, 2009 8:39 am

Re: Delete Directory before PDF-Tools compressed

Post by Nimrod_189 »

I have found the command line on your help-site.

I will testing this and I hope I can solved my Problem.

Thanks for all and thanks for this great program.

Nimrod
User avatar
Paul - Tracker Supp
Site Admin
Posts: 6813
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Delete Directory before PDF-Tools compressed

Post by Paul - Tracker Supp »

Hi Nimrod,

I assume you found this then? https://help.pdf-xchange.com/pdfxt ... ons_t.html

PDFXTools.exe /RunTool specifically should do the trick.
Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Post Reply