CoolUtils Logo
German  Italian  Dutch  Spanish  Russian

Command Line Parameters

You can convert DOC files to other file formats via Command line using Total DOC Converter.

To work with Command line you should use the following code:

PDFConverter.exe <source> <destination> <options>,

where

  • <source> is the destination path of the original DOC file location;
  • <destination> is the destination path where converted file should be kept;
  • <options> is the name of the option you want to use while converting the file.

For example: DocConverter.exe C:\DOC\Test.doc C:\PDF\Test.pdf -cPDF

Convert a doc file Test.doc from this folder C:\DOC to PDF file Test.pdf and place the converted files to folder c:\PDF

  1. If you want to convert all the files from a proper folder use * sign.

    For example: DocConverter.exe C:\DOC\*.DOC C:\PDF\ -cPDF

    Convert all Doc files from this folder C:\DOC to PDF format and place the converted files to folder c:\PDF

  2. If you need to do batch conversion put appropriate DOC files to list.txt

    For example: DocConverter.exe -list c:\List.txt C:\PDF\ -cPDF

    Convert all files from file list c:\List.txt to PDF and place them to c:\PDF

  3. You can use macros in the Destination path

    •  <DATE[:format]> - current date, default format is yyyymmdd
    •  <TIME[:format]> - current time, default format hhmmss

    For example: destination C:\<DATE>_<TIME:hhmm> produce file C:\20080318_1248

As for Command line options you may observe the list of them in Total DOC Converter itself:

  1. Click Help and select Command line parameters.

    Command Line

  2. The list of options will appear.

    Command Line Options

  3. The available options are the following:

    • -log <FileName> - Don`t show errors. Write them to the log file
    • -list - File with files mask to convert
    • -Recurse - Include subfolders
    • -do - Delete originals
    • -kfs - Keep Folder Structure
    • -c - Convert action
      • XLS - convert to Microsoft Excel Format
      • HTM - convert to HTML Format
      • PDF - convert to Acrobat Reader Format
      • JPG - convert to jpeg file
      • TIFF - convert to tiff file
      • TXT - convert to text file
      • UNI - convert to unicode text file
      • RTF - convert to rtf file
    • -tc - TIFF image compression
      • 0 - uncompressed TIFF
      • 1 - LZW compression
      • 2 - RLE compression (packbits)
      • 3 - JPEG compression
      • 4 - Bilevel Huffman compression (CCITT1D)
      • 5 - Bilevel Group 3 CCITT compression, monodimensional (G3FAX1D)
      • 6 - Bilevel Group 3 CCITT compression, bidimensional (G3FAX2D)
      • 7 - Bilevel Group 4 CCITT compression, bidimensional (G4FAX)
    • -ipath - Image Path
    • -TM - Top Margin MM
    • -LM - Left Margin MM
    • -BM - Bottom Margin MM
    • -RM - Right Margin MM
    • -po - Paper Orientation
      • Portrait - Portrait
      • Landscape - Landscape
    • -ps - PaperSize
      • Letter - Letter
      • LetterSmall - Letter Small
      • Tabloid - Tabloid
      • Ledger - Ledger
      • Legal - Legal
      • Statement - Statement
      • Executive - Executive
      • Folio - Folio
      • A3 - A3
      • A4 - A4
      • A4Small - A4Small
      • A5 - A5
      • B4 - B4
      • B5 - B5
      • Quarto - Quarto
      • EnvC5 - Envelope C5
      • EnvC3 - Envelope C3
      • EnvC4 - Envelope C4
      • EnvC6 - Envelope C6
      • EnvB4 - Envelope B4
      • EnvB5 - Envelope B5
      • EnvB6 - Envelope B6
      • EnvMonarch - Envelope Monarch
      • Custom - Custom, you need to set paper dimensions
    • -pd - Custom paper size dimensions <width>x<height>
    • -WordWrap - Word Wrap
    • -FontName - Font Name
    • -FontSize - Font Size
    • -FontStyle - Font Style (B - Bold, U - Underline, I - Italic, S - StrikeOut [Example -FontStyle IB])
Top  Previous  Next
Back to content
Site Map  |  Contacts |  Press Center | Resellers | About |  Privacy Policy |    Copyright © 1998-2018 CoolUtils Development. All rights reserved.   GPlus