Converting Word to PDF using command line


Does anyone know of a way to do this? I have a load of documents that I
need to pdf before a software release and it would make it alot easier to be
able to script it than manually open up each Word document separately and
print using a pdf printer. I also use Automated Build studio so maybe
something that can be incorporated using this.

Thanks in advance