Using dispatch to check out another file

Trying to use dispatch to check out a pdf that was generated using a drawing automatically when it’s source file (slddrw) is checked out. Generated PDF’s are in a folder named “PDF” in the root of the vault. PDF’s are generated using the source file name and adding “.pdf” to the end.


When I checkout a drawing it gives this error and then the source file is checked out but not the pdf


Does anybody know how I need to write the argument for the "check out file" command?

SolidworksSolidworks Pdm enterprise Pdm