Is there a macro available that exports all files in a folder to PDF?

Hi,

I'm looking for a macro or another simple way to either:

1. publish all .cdr files in a folder to PDF.

2. print all files in a folder to Adobe PDF.

So the file name would be "test name - test information 123.cdr" and would publish as "test name - test information 123.pdf"

Any help would be much appreciated.

Thanks