John
John

Reputation: 3

A windows script to batch convert rtf files to pdf

I have about 100 .rtf files, which I need to convert to pdf with the same name.

I use a cutepdf printer/plugin and print the file/save it as pdf.

Is there an automated way to do it or a command line method ?

Any help would be very helpful.

Upvotes: 0

Views: 13101

Answers (1)

Joey
Joey

Reputation: 354834

If you have Office 2007 or 2010 installed (which can export as PDF natively) you don't even have to go through the printer (although that should work too). There are plenty of examples on how to use PowerShell to automate conversion to PDF:

(Yes, they convert Word documents to PDF, but the process should be exactly the same for RTF, which has the same capabilities as the Word file format anyway).

Upvotes: 4

Related Questions