Solved: Options in automating batch conversion of Word.doc to PDFs

Awesome…sorry about that, I will definitely do that moving forward. So to try to ask my original question the proper way:
I am working with the script referenced below (doc to docx): [quote=“calbear, post:38, topic:4257”]
So, just to clarify, the following script works perfectly to convert batches of hundreds/thousands of .doc files to .docx, without losing any formatting, graphics, tables, etc. I saved it as a “service” (doc2docx1by1) whereby I highlight all files in the Finder that I wish to convert and then select the “doc2docx1by1” service from the Finder’s contextual menu
[/quote]
I have it working through a service, but I would like to delete the original file after conversion. I have tried inserting the rm and delete commands referring to x, theDoc, and input at various places in the script, but either it does not work (the conversion goes through) or it creates an error. Any thoughts on how to make this happen? Happy to provide more information if needed. I have not edited the script except that at the end I pasted in the following (and just chnaged the app name to match the doctodocx name): [quote=“ccstone, post:5, topic:4257”]
here’s how to run the droplet on the selection in the Finder:
[/quote]

Basically, I want to convert a doc file to a docx file and then delete the doc file.
Thanks!
Brent