{"id":1951,"date":"2020-07-20T13:35:57","date_gmt":"2020-07-20T20:35:57","guid":{"rendered":"https:\/\/SUMMALAI.COM\/?p=1951"},"modified":"2020-07-20T13:35:58","modified_gmt":"2020-07-20T20:35:58","slug":"how-to-batch-convert-word-documents-to-pdf-files","status":"publish","type":"post","link":"https:\/\/SUMMALAI.COM\/?p=1951","title":{"rendered":"How to Batch Convert Word Documents to PDF Files"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Method 1: Using a custom VBScript<\/h3>\n\n\n\n<p>Microsoft Office has automation or scripting support. Using a VBScript, you can bulk convert Word documents to PDF. Here is a simple script I wrote to do the job:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">'Convert .doc or .docx to .pdf files via Send To menu\nSet fso = CreateObject(\"Scripting.FileSystemObject\")\nFor i= 0 To WScript.Arguments.Count -1\n   docPath = WScript.Arguments(i)\n   docPath = fso.GetAbsolutePathName(docPath)\n   If LCase(Right(docPath, 4)) = \".doc\" Or LCase(Right(docPath, 5)) = \".docx\" Then\n      Set objWord = CreateObject(\"Word.Application\")\n      pdfPath = fso.GetParentFolderName(docPath) &amp; \"\\\" &amp; _\n\tfso.GetBaseName(docpath) &amp; \".pdf\"\n      objWord.Visible = False\n      Set objDoc = objWord.documents.open(docPath)\n      objDoc.saveas pdfPath, 17\n      objDoc.Close\n      objWord.Quit   \n   End If   \nNext\n<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Convert Word documents to PDF using VBScript<\/h4>\n\n\n\n<ol class=\"wp-block-list\"><li>Copy the above VBScript code to Notepad.<\/li><li>Save the file with a .vbs extension, and in a permanent folder. \u2014 e.g.,\u00a0<code>d:\\scripts\\doc2pdf.vbs<\/code><br><img fetchpriority=\"high\" decoding=\"async\" width=\"700\" height=\"180\" src=\"https:\/\/i1.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/07\/convert-doc-to-pdf-vbscript.png?resize=700%2C180&amp;quality=100&amp;ssl=1\" alt=\"batch convert word documents to pdf\"><\/li><li>Close Notepad.<\/li><li>Open File Explorer and browse the following\u00a0SendTo\u00a0folder:C:\\Users\\%username%\\AppData\\Roaming\\Microsoft\\Windows\\SendTo<\/li><li>Create a shortcut to the script\u00a0<code>doc2pdf.vbs<\/code>\u00a0in the SendTo folder.<\/li><li>Prefix the shortcut target with\u00a0<code>wscript.exe<\/code>\u00a0and then followed by a space.<br><img decoding=\"async\" width=\"363\" height=\"509\" src=\"https:\/\/i1.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/07\/word-doc-to-pdf-3.png?resize=363%2C509&amp;quality=100&amp;ssl=1\" alt=\"batch convert word documents to pdf\"><\/li><li>Optionally, assign a nice-looking icon by clicking on the Change Icon button.<\/li><li>Name the shortcut accordingly \u2014 e.g.,\u00a0<strong>Convert Word Docs to PDF<br><\/strong><\/li><li>Now, open the folder that contains the Word documents that you want to convert to PDF.<\/li><li>Select the documents, right-click on the selection, and click\u00a0<strong>Send to<\/strong>.<\/li><li>Click\u00a0<strong>Convert Word Docs to PDF<\/strong>\u00a0in the\u00a0<strong>Send to<\/strong>\u00a0menu.<br><img decoding=\"async\" width=\"772\" height=\"464\" srcset=\"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/07\/word-doc-to-pdf-4.png?w=772&amp;quality=100&amp;ssl=1 772w, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/07\/word-doc-to-pdf-4.png?resize=768%2C462&amp;quality=100&amp;ssl=1 768w\" src=\"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/07\/word-doc-to-pdf-4.png?resize=772%2C464&amp;quality=100&amp;ssl=1\" alt=\"batch convert word documents to pdf\">That\u2019s it! Your PDF files are now ready!<br><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"209\" src=\"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/07\/word-doc-to-pdf-5.png?resize=700%2C209&amp;quality=100&amp;ssl=1\" alt=\"batch convert word documents to pdf\"><\/li><\/ol>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Method 2: Using File Converter (Freeware)<\/h3>\n\n\n\n<p><a href=\"https:\/\/file-converter.org\/index.html\" target=\"_blank\" rel=\"noreferrer noopener\">File Converter<\/a>&nbsp;is a simple tool which allows you to convert or compress one or several files using the context menu in Explorer. This program is Freeware!<\/p>\n\n\n\n<p>After you install the software, all you need to do is select the .doc or .docx files you want to convert, click File Converter in the right-click menu and select&nbsp;<strong>To Pdf<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/07\/file-converter-program-2.png?resize=704%2C352&amp;quality=100&amp;ssl=1\" alt=\"batch convert word documents to pdf\" class=\"wp-image-10155\"\/><\/figure>\n\n\n\n<p>It shows you the conversion status with the progress bar.<\/p>\n\n\n\n<p>Reference: <a href=\"https:\/\/www.winhelponline.com\/blog\/how-to-batch-convert-word-documents-into-pdf-files\/\">https:\/\/www.winhelponline.com\/blog\/how-to-batch-convert-word-documents-into-pdf-files\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Method 1: Using a custom VBScript Microsoft Office has automation or scripting support. Using a VBScript, you can bulk convert Word documents to PDF. Here is a simple script I wrote to do the job: &#8216;Convert .doc or .docx to .pdf files via Send To menu Set fso = CreateObject(&#8220;Scripting.FileSystemObject&#8221;) For i= 0 To WScript.Arguments.Count <a class=\"read-more\" href=\"https:\/\/SUMMALAI.COM\/?p=1951\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[10,18],"tags":[301],"class_list":["post-1951","post","type-post","status-publish","format-standard","hentry","category-microsoft","category-microsoft-office","tag-batch-convert-word-to-pdf"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/1951","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1951"}],"version-history":[{"count":1,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/1951\/revisions"}],"predecessor-version":[{"id":1954,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/1951\/revisions\/1954"}],"wp:attachment":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1951"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1951"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1951"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}