Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Going off of what was covered in the thread here I have 2 questions. (I'm using the vbscript version that's in my SendTo folder and works nicely, thank you nixda! )

1) How can I modify the script to repeat for every file selected. For example if I select 5 files and right click then send to this script, it will convert all five files. I'm unsure of how to detect multiple selections and then use that information to loop the script.

2) I'm using a CAD sofware called designcad. Within the software I can print to PDF Creator and it produces a nice pdf, however sending the same designcad file to this script (which calls the PDF Creator) does not produce a pdf at all. Is there a log file for the PDF Creator where I can see the parameters involved when printing from within the designcad software?

(I'll keep the same file name for the pdf as well as keep the same folder, as the script is already configured to do)

I appreciate any help/ advice as to where to look

share|improve this question
add comment

1 Answer 1

I do not have these programs installed so I am unable to test this but I think you can leverage some of the built in Windows commands. The example I included below uses the FORFILES command. Hope this helps or at least leads you in the right direction, else we can work it out.

FORFILES /p "YOURPATHHERE" /m *.*  /c "cmd /c if C:\Program Files (x86)\PDFCreator>PDFCreator.exe /NOSTART /PF @file"
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.