How to Convert Many Microsoft Word, Powerpoint or Excel Files to PDF

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:


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