---
title: How to Convert Many Microsoft Word, Powerpoint or Excel Files to PDF
description: How to Convert Many Microsoft Word, Powerpoint or Excel Files to PDF
---

[Antenna House How To's ](https://www.antennahouse.com/how-to)

# [How to Convert Many Microsoft Word, Powerpoint or Excel Files to PDF](https://www.antennahouse.com/how-to/2017/07/how-to-convert-many-word-powerpoint-or-excel-files-to-pdf)

 Written by [Admin](https://www.antennahouse.com/how-to/author/admin) | July 28, 2017

After downloading Office Server Document Converter, locate the documents that need to be converted and open the folder that it is saved in.

Create a new file and save as *name*.bat with the following code in it:

 @ECHO OFF

for %%f in (*) do (  
 echo "input: %%f"  
 echo "output: %%~nf.pdf"

 sbccmd -d %%f -o %%~nf.pdf -x 4  
 )

Open the command line from the folder by holding down the Shift key and right clicking the window. Select Open command window here.

Run the .bat file in command line

[View full post](https://www.antennahouse.com/how-to/2017/07/how-to-convert-many-word-powerpoint-or-excel-files-to-pdf)

```json
{
  "@context" : "http://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Admin"
  },
  "dateModified" : "2020-02-14T16:30:44.701Z",
  "datePublished" : "2017-07-28T18:05:37Z",
  "headline" : "How to Convert Many Microsoft Word, Powerpoint or Excel Files to PDF",
  "image" : {
    "@type" : "ImageObject",
    "height" : 60,
    "url" : "/hs/hsstatic/content_shared_assets/static-1.4092/img/default-amp-logo.png",
    "width" : 60
  },
  "mainEntityOfPage" : "https://www.antennahouse.com/how-to/2017/07/how-to-convert-many-word-powerpoint-or-excel-files-to-pdf",
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "height" : 60,
      "url" : "/hs/hsstatic/content_shared_assets/static-1.4092/img/default-amp-logo.png",
      "width" : 60
    },
    "name" : "Antenna House How To's"
  }
}
```