Logo

arrow2 File Converters

arrow2 Forensic

arrow2 TIFF and PDF apps

arrow2 Freeware

Total Doc Converter X

Convert DOC to TXT Via Command Line

With the Total Doc Converter X it's never been easier to convert Doc to TXT from command line. Drawing from an immense list of available command prompts, you'll be able to build complex, automated conversion projects. If there are certain jobs that you run repeatedly, save your settings for future use by generating a .bat file.

doc to txt command line

Equipped with ActiveX functionality, the Total Doc Converter X can be integrated with just about any Windows-based app. Because it lives on a web server, you can choose to run it as a stand-alone app, or make it available to your whole network. If you're a server admin, you know how helpful this can be! when converting from Doc to TXT with our command line converter you can also:

  • Add page breaks.
  • Define breaks (symbols, end of line and more).
  • Convert each page into a separate file.

Due to the nature of command line coding, you can develop sets of instructions that are repeatable with a few quick clicks.

This powerful feature combined with ActiveX makes it so that your network users don't even need to know how to convert Doc to TXT from Windows command line. Only you do! A flexible way to widely share robust functionality while also saving you time.

Download our trial version to see for yourself how amazing this app really is. If you choose to upgrade to the full version, we have a tiered licensing structure based on your specific needs, and the size of your web server. All licenses are life-time, they never expire!

While other companies provide conversion technology, few are able to match us in terms of options combined with utility. You see, after more than a decade developing cool conversion apps, we've learned exactly what our users need to get the job done!

Windows 2000/2003/Vista/7/8/10

Download

Examples of Total Doc ConverterX

Convert Doc files With TotalDocConverterX and .NET

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

Convert Doc Files On Web Servers With Total Doc ConverterX

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
Example2 ASP: directly stream the resulting PDF
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
If you use ActiveX on a web-server, please, remember to register it in your web-server account. If you don't have MS Office or MS Word installed on your computer, please download this additional free office converter pack to convert doc files.

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.

Convert Doc Files On Web Servers With Total Doc ConverterX

$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;

Convert Doc Files With Total Doc ConverterX and Ruby

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

Convert Doc files With Total Doc ConverterX and Python

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)

Convert Doc files With Pascal and Total Doc ConverterX

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;

Convert Doc Files On Web Servers With Total Doc ConverterX

var c = new ActiveXObject("DocConverter.DocConverterX");
c.Convert("C:\\test\\source.docx", "C:\\test\\dest.pdf", "-c PDF");
if (c.ErrorMessage!="")
  alert(c.ErrorMessage)

Convert Doc files With Total Doc ConverterX and Perl

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;

Get all CoolUtils products
for $99 only
read more

  (you save up to $500)


Total Doc Converter X Preview1

Coolutils.com

Latest News

Newsletter Subscribe

No worries, we don't spam.


© 2019. All rights reserved. CoolUtils File Converters

Cards