You have hundreds of Word documents on a server that need to become PDFs — for archiving, for a web portal, or for a workflow that distributes read-only copies. Opening each file in Word and exporting to PDF is not an option at scale. Total Doc Converter X converts DOC and DOCX files to PDF from the command line, in batch, with no GUI and no Microsoft Office installation. Install it on a Windows server, call it from a script, and let it run unattended.
*.doc) and the converter processes every matching file in one run
Windows 7/8/10/11 • Server 2008/2012/2016/2019/2022
DOC/DOCX is an editable Word format. It requires Microsoft Word or a compatible application to render, and the result can vary between machines depending on installed fonts, Word versions, and printer drivers. PDF is a fixed-layout format that looks identical on every device. It cannot be accidentally edited, supports password protection, and opens natively in every browser, mobile OS, and desktop operating system.
| DOC / DOCX | ||
|---|---|---|
| Editability | Fully editable | Read-only (by design) |
| Rendering | Varies by machine and Word version | Identical on every device |
| Viewer required | Microsoft Word or compatible app | Any browser or PDF viewer (free) |
| Security | Limited (basic password) | Passwords, encryption, permissions |
| Digital signatures | Supported (requires Word) | Supported (universally) |
| Use case | Drafting, collaboration | Distribution, archiving, compliance |
Download the installer from the link above and run it on your Windows server or workstation. The setup takes under a minute. No Microsoft Office installation is required — the converter uses its own rendering engine.
Open cmd.exe or PowerShell. The converter executable is DocConverter.exe, located in the installation folder (typically C:\Program Files\CoolUtils\TotalDocConverterX\). Add it to your system PATH or use the full path in your commands.
The simplest command converts all DOC files in a folder to PDF:
DocConverter.exe C:\Docs\*.doc C:\Output\ -cPDF
This processes every .doc file in C:\Docs\ and saves the resulting PDFs in C:\Output\. Each DOC file produces one PDF with the same name.
Control the PDF output with additional flags:
DocConverter.exe C:\Docs\*.docx C:\Output\ -cPDF -OwnerPassword admin123 -NoPrint -NoCopy
-OwnerPassword admin123 — set a PDF owner password that controls permissions-UserPassword open456 — set a password required to open the PDF-NoPrint — disable printing in the output PDF-NoCopy — prevent text selection and copying-Watermark "CONFIDENTIAL" — stamp text across every page-PageNum — add page numbers to the footerSave your command in a .bat file and schedule it with Windows Task Scheduler:
@echo off "C:\Program Files\CoolUtils\TotalDocConverterX\DocConverter.exe" C:\Incoming\*.doc C:\Archive\PDF\ -cPDF -OwnerPassword secret -NoPrint -log C:\Logs\doc2pdf.log
This runs the conversion every night (or at whatever interval you set) and writes a log file so you can verify the results.
Total Doc Converter X includes a full ActiveX interface. You can call the converter from any COM-compatible environment — VBScript, VB.NET, C#, ASP, or PHP on Windows. This lets you embed DOC-to-PDF conversion into your own web application, intranet portal, or document workflow without shelling out to a command-line process.
Example (VBScript):
Set obj = CreateObject("DocConverter.Application")
obj.Convert "C:\Docs\report.doc", "C:\Output\report.pdf", "PDF"
In ASP.NET, the same call works through COM Interop, allowing your web application to accept uploaded Word files and return PDFs to the user in real time.
| Feature | Online Converters | Total Doc Converter X |
|---|---|---|
| Batch processing | One file at a time | Unlimited files per batch |
| File privacy | Files uploaded to third-party server | Files never leave your machine |
| File size limit | Typically 10–50 MB | No limit |
| PDF security | Rarely available | Passwords, encryption, permissions |
| Watermarks | Not available or branded | Custom text and image watermarks |
| Automation | Manual only | Command line, .bat, Task Scheduler, ActiveX |
| Server deployment | Not possible | Designed for servers, no GUI needed |
| Requires internet | Yes | No |
The converter uses its own rendering engine to read DOC and DOCX files. You do not need Word, LibreOffice, or any other application installed on the server. This simplifies deployment, avoids Office licensing costs, and eliminates the stability issues of running Office in a server environment.
Total Doc Converter X is designed for unattended use. No GUI windows, no dialog boxes, no confirmation prompts. It runs silently from the command line or as part of a service — exactly what a production server needs.
Set passwords, restrict permissions, add watermarks, insert page numbers, customize headers and footers — all from the command line. Every option that you would set manually in Word's "Save as PDF" dialog is available as a command-line flag.
The same command-line tool converts DOC and DOCX to TIFF, JPEG, PNG, HTML, XLS, RTF, TXT, and more. One installation covers all your document conversion needs. Change -cPDF to -cTIFF and you get TIFF output with the same batch and automation features.
Windows 7/8/10/11 • Server 2008/2012/2016/2019/2022
"We process 3,000 Word documents a week through our intranet portal. Users upload DOC files and the system returns PDFs. Total Doc Converter X handles the conversion on the server side via ActiveX. No Office installation, no stability issues, no user interaction. It has been running for two years without a single failure."
James Whitfield Senior Systems Administrator
"Our compliance workflow requires all finalized contracts to be stored as password-protected PDFs. We used to do this manually in Word. Now a nightly .bat script converts everything in the Finalized folder to PDF with an owner password and print restrictions. The entire batch runs in minutes."
Katrin Bauer Compliance Officer
"Good server-side converter. I integrated it into our CI/CD pipeline to generate PDF documentation from Word templates after each release. The command-line interface is straightforward and the log output is clean. Only wish it had a Linux build, but for our Windows Server environment it does the job reliably."
Rafael Costa DevOps Engineer
DocConverter.exe C:\Docs\*.doc C:\Output\ -cPDF. This converts every DOC file in the source folder to PDF. Add flags like -OwnerPassword, -NoPrint, or -Watermark to control the output.-OwnerPassword to set a password that controls permissions (printing, copying), and -UserPassword to set a password required to open the PDF.*.docx in the source path to convert DOCX files.-Watermark "CONFIDENTIAL" flag to stamp text across every page. You can also add image watermarks by specifying a path to an image file.
Download free trial and convert your files in minutes.
No credit card or email required.
string src="C:\\test\\Source.Doc";
string dest="C:\\test\\Dest.PDF";
DocConverterX Cnv = new DocConverterX();
Cnv.Convert(src, dest, "-c PDF -log c:\\test\\Doc.log");
MessageBox.Show("Convert complete!");
Download .NET Doc Covnerter example
dim C
Set C=CreateObject("DocConverter.DocConverterX")
C.Convert "c:\source.DOC", "c:\dest.TIF", "-cTIF -log c:\doc.log"
Response.Write C.ErrorMessage
set C = nothing
dim C
Set C=CreateObject("DocConverter.DocConverterX")
Response.Clear
Response.AddHeader "Content-Type", "binary/octet-stream"
Rresponse.AddHeader "Content-Disposition", "attachment; filename=test.pdf"
Response.BinaryWrite c.ConvertToStream("C:\www\ASP\Source.doc", "C:\www\ASP", "-cpdf -log c:\html.log")
set C = nothing
Some more samples in C# specifically for ASP.net. If you need examples on other languages please contact us. We will create any example specially for you.
$src="C:\test.doc";
$dest="C:\test.htm";
if (file_exists($dest)) unlink($dest);
$c= new COM("DocConverter.DocConverterX");
$c->convert($src,$dest, "-c htm -log c:\doc.log");
if (file_exists($dest)) echo "OK"; else echo "fail:".$c->ErrorMessage;
require 'win32ole'
c = WIN32OLE.new('DocConverter.DocConverterX')
src="C:\\test\\test.docx";
dest="C:\\test\\test.pdf";
c.convert(src,dest, "-c PDF -log c:\\test\\Doc.log");
if not File.exist?(dest)
puts c.ErrorMessage
end
import win32com.client
import os.path
c = win32com.client.Dispatch("DocConverter.DocConverterX")
src="C:\\test\\test.docx";
dest="C:\\test\\test.pdf";
c.convert(src, dest, "-c PDF -log c:\\test\\Doc.log");
if not os.path.exists(file_path):
print(c.ErrorMessage)
uses Dialogs, Vcl.OleAuto;
var
c: OleVariant;
begin
c:=CreateOleObject('DocConverter.DocConverterX');
C.Convert('c:\test\source.docx', 'c:\test\dest.pdf', '-cPDF -log c:\test\Doc.log');
IF c.ErrorMessage<>'' Then
ShowMessage(c.ErrorMessage);
end;
var c = new ActiveXObject("DocConverter.DocConverterX");
c.Convert("C:\\test\\source.docx", "C:\\test\\dest.pdf", "-c PDF");
if (c.ErrorMessage!="")
alert(c.ErrorMessage)
use Win32::OLE; my $src="C:\\test\\test.docx"; my $dest="C:\\test\\test.pdf"; my $c = CreateObject Win32::OLE 'DocConverter.DocConverterX'; $c->convert($src,$dest, "-c pdf -log c:\\test\\Doc.log"); print $c->ErrorMessage if -e $dest;