Skip to main content

Search

Search

/dd Delete File After Processing Not Working

Comments

4 comments

  • Avatar
    Shotaro Ito

    The account to run Commander service may not have delete rights to the folder.

    Run Commander as application mode (from Administer > Service Setup),

    Or in service mode, change Commander Service's logon account (try your login account etc.

     

    Or do you show Data entry form or print dialog at the print? In that case /DD option may not work.

    (%del command should work though)

    0
  • Avatar
    Legacy Poster

    Hello Shotaro,

     

    Thanks for your reply.

     

    It is not a security problem, since other tasks run just fine in the same folder (I have tried running both as a service/application).

    I dont have any dialogs in the btw file.

     

    I just found that when the Trigger file prints to a physical printer, the file is deleted afterwards.

    In the failing case I am printing to a PDF printer (PDF995), PDF995 is setup to auto save the output to a fixed path. The PDF is generated but the Trigger file is not deleted afterwards ?

     

    I haven't been able to find any documentation on %del, how would you use that ?

     

    Best regards

     

    Brian

    0
  • Avatar
    Shotaro Ito

    Hmm.. might be something related to the PDF printer driver. Would that be same if you use other printer such as XPS or Bullzip PDF etc.

     

    About %del, I mean DOS(command prompt) DEL command, ex DEL "%Trigger File Name%".

    However if the file was locked by BarTender, the deletion would fail.

     

    If possible, try BarTender 2016's Integration.

    0
  • Avatar
    Legacy Poster

    I haven't tried other PDF printers, but I tried the new Integration builder and it seems to work just fine.

    We will implement the new version shortly.

     

    Thanks for your help Shotaro :)

    0

Please sign in to leave a comment.