DocTo convert doc(x) to pdf

https://github.com/tobya/DocTo

 

https://superuser.com/questions/393118/how-to-convert-word-doc-to-pdf-from-windows-command-line#1224939

  1. if you have Microsoft Word installed, you can use DocTo:

    https://github.com/tobya/DocTo

    batch operation is supported, all files in directory can be converted from doc to pdf:

    docto -f "C:\Dir with Spaces\FilesToConvert\" -O "C:\DirToOutput" -T wdFormatPDF  -OX .pdf
    
  2. another option is to use the following powershell script: https://gallery.technet.microsoft.com/office/Script-to-convert-Word-f702844d

 

posted @ 2024-09-22 00:51  profesor  阅读(3)  评论(0编辑  收藏  举报