Skip to content
Okdo | Word Merger Command Line
using System.Diagnostics; Process process = new Process(); process.StartInfo.FileName = @"C:\Program Files\Okdo\Word Merger\okdo_word_merger_cl.exe"; process.StartInfo.Arguments = "/merge "C:\Input\*.docx" /output "C:\Output\Combined.docx" /quiet"; process.StartInfo.UseShellExecute = false; process.StartInfo.CreateNoWindow = true; process.Start(); process.WaitForExit();
okdo_word_merger_cl.exe /merge "C:\Logs\*.docx" /output "D:\Combined_Log.docx" /quiet Save this as merge_daily_reports.bat :
okdo_word_merger_cl.exe /merge "C:\Chapter1.docx" /p 1-3 "C:\Chapter2.docx" /p 2-5 /output "C:\Book_Extract.docx" Add the /quiet switch to suppress all console output—perfect for background jobs. Okdo Word Merger Command Line
In the world of batch document processing, GUI tools are great for one-off tasks. But when you need automation, scheduling, or integration into existing systems, command line tools are the gold standard.
okdo_word_merger_cl.exe [Switches] [Input Files] [Output File] Here are real-world commands you can use immediately. 1. Merge Two Specific Files Combine report1.docx and report2.docx into a single final_report.docx . using System
Console.WriteLine("Merge completed successfully.");
if (process.ExitCode == 0)
okdo_word_merger_cl.exe /merge "C:\Invoices\*.docx" /output "C:\Archives\All_Invoices.docx" Need pages 1-3 from the first file and pages 2-5 from the second? Use the /p switch.