CoolUtils Logo

Convert Excel Files Via Command Line With Total Excel Converter

Total Excel Converter will help you convert XLS to PDF, DOC, HTML, Access, TXT, ODT, ODS, XML, SQL, CSV, Lotus, DBF, TEX, DIFF, SYLK, LaTeX. It works both via GUI and command line.

Usage: ExcelConverter.exe <source> <destination> <options>
If you have path with spaces, use quotation marks.


By the way 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> will produce this file C:\20150304_1221

Options:

Options:

  • -lang - Used language
    • ar - Arabic (U.A.E.)
    • cs - Czech (Czech Republic)
    • da - Danish (Denmark)
    • de - German (Austria)
    • es - Spanish (Latin America)
    • fr - French (Belgium)
    • it - Italian (Switzerland)
    • ja - Japanese (Japan)
    • ko - Korean (Korea)
    • nl - Dutch (Belgium)
    • pt - Portuguese (Brazil)
    • ru - Russian (Russia)
    • sv - Swedish (Finland)
    • zh - Chinese (Simplified, China)
    • en - English (Caribbean)
  • -log - Don`t show errors. Write them to the log file
  • -verbosity - Log file verbosity
    • error - Write to log file only errors (default)
    • detail - Write detailed log file
  • -logmode - Log file mode
    • overwrite - Overwrite (default)
    • append - Append
  • -list - File with files mask to convert. Simple text file, each file on new line
  • -Recurse:off - Include subfolders
  • -do - Delete originals
  • -kfs - Keep folder structure
  • -fo - Force overwrite existed files
  • -limit - Limit converted files to count
  • -combine:off - Combine all files into one document (pdf, tiff)
  • -sort - Sort source file list
    • unsorted - Unsorted, natural order (default)
    • name - Sort by file name
    • date - Sort by file modification date
    • numbers - Sort by numbers in file name
  • -ext - Use custom extension for output files
  • -c - Convert to
    • DOC - convert to DOC
    • PDF - convert to PDF
    • HTML - convert to HTML
    • MHT - convert to MHT
    • XHTML - convert to XHTML
    • CSV - convert to CSV
    • TXT - convert to TXT
    • TIFF - convert to TIFF
    • JPG - convert to JPEG
    • SVG - convert to SVG
    • RTF - convert to RTF
    • XML - convert to XML
    • XLS - convert to XLS
    • XLSX - convert to XLSX
    • ODS - convert to ODS
    • ODT - convert to ODT
    • Lotus - convert to Lotus
    • DIFF - convert to DIFF
    • SYLK - convert to SYLK
    • Latex - convert to LaTeX
    • SQL - convert to SQL
    • DBF - convert to DBF
    • Access - convert to Access
  • -template - Destination file name template
  • -xml_template - Template for export to XML
  • -sheets - Specify what sheets in the workbook you need to convert
  • -cs:off - Combine Sheets into one file
  • -td - Text Delimiter
    • None - Use None
    • Tab - Use Tab
    • Space - Use Space
    • CSV - Use CSV
    • Comma - Comma
    • Semi - Use semicolon
    • Other - Use key -TDO. #ASCII Code - for setup ASCII separator
  • -tdo - Text Delimiter Other
  • -UseQuote:off - Use Quote
  • -ps - Paper Size
    • A3 - A3
    • A4 - A4
    • A5 - A5
    • B5 - B5
    • Letter - Letter
    • Legal - Legal
  • -po - Paper Orientation
    • Portrait - Portrait
    • Landscape - Landscape
  • -PgSep:off - Every page into separate file
  • -accessdb - Access database file
  • -table - Table name
  • -pc - PDF file compression
    • Fastest - Fastest compression
    • Normal - Normal compression
    • Maximum - Maximum compression
  • -mp - PDF master (owner) password
  • -up - PDF user password
  • -perm - PDF user permissions
    • Copy - Copy
    • Modify - Modify
    • Annotation - Annotation
    • FormFill - FormFill
    • Accessibility - Accessibility
    • DocAssembly - DocAssembly
    • HighResPrint - HighResPrint
  • -PFXFile - PFX File for sign document
  • -PFXPass - The password to open the PFX file
  • -SignLoc - The location that the signing was done
  • -SignCon - The contact information of the signer
  • -SignRes - The reason for signing document
  • -PDFAuthor - PDF document author
  • -PDFSubject - PDF document subject
  • -PDFTitle - PDF document title
  • -pdfa:off - PDF/A compatibility mode
  • -pdfver - PDF document format version 1.2 - 1.6
  • -TM - Top Margin (inches)
  • -LM - Left Margin (inches)
  • -BM - Bottom Margin (inches)
  • -RM - Right Margin (inches)
  • -pd - Custom paper size dimensions in mm <width>x<height>
  • -tc - TIFF Image Compression
    • Uncompressed - uncompressed TIFF
    • LZW - LZW compression
    • RLE - RLE compression (packbits)
    • JPEG - JPEG compression
    • CCITT1D - Bilevel Huffman compression (CCITT1D)
    • G3FAX1D - Bilevel Group 3 CCITT compression, monodimensional (G3FAX1D)
    • G3FAX2D - Bilevel Group 3 CCITT compression, bidimensional (G3FAX2D)
    • G4FAX - Bilevel Group 4 CCITT compression, bidimensional (G4FAX)
  • -tiffpi - TIFF Photometric interpretation
    • wz - White is zero
    • bz - Black is zero
    • rgb - RGB
    • pal - RGB Palette
    • mask - Transparent mask
    • cmyk - CMYK
    • ycbcr - YCBCR
    • cielab - CIELAB
  • -dpi - Image DPI
  • -tjq - TIFF JPEG Quality (1-100)
  • -Head:off - Turn off header text
  • -HeadText - Header text. Where [page] - Page Number and [date] - current date
  • -HeadAlign - Header align
    • left - align left
    • right - align right
    • center - align center
  • -HeadFont - Header font name
  • -HeadSize - Header font size
  • -Foot:off - Turn off footer text
  • -FootText - Footer text. Where [page] - Page Number and [date] - current date
  • -FootAlign - Footer align
    • left - align left
    • right - align right
    • center - align center
  • -FootFont - Footer font name
  • -FootSize - Footer font size
  • -PrintGridLines:off - Print gray grid lines
  • -FontKerning:off - Files with kerning look a little better but are a little bigger too
  • -FontMapping - Font Mapping
    • ReplaceStandardFonts - Replace standart fonts by internal fonts. (optimum file size/accuracy)
    • ReplaceAllFonts - Replace all fonts by internal fonts. (smaller file size)
    • DontReplaceFonts - Do not replace any font. (maximum file size)
  • -PNVP - If set, the sheet will be printed on at most this number of vertical pages. Use 0 to have unlimited vertical pages while still limiting the horizontal pages.
  • -PNHP - If set, the sheet will be printed on at most this number of horizontal pages. Use 0 to have unlimited horizontal pages while still limiting the vertical pages.

Examples:

  • ExcelConverter.exe C:\Documents\index.xls C:\Pages\Doc1.doc -c doc -log c:\log\Excel.txt
    Convert file Index.xls into Word document Doc1.doc
  • ExcelConverter.exe C:\Documents\ C:\All.PDF -cPDF -cs
    Convert all Excel files from this folder C:\Documents\ to PDF format and combine the converted files to file C:\All.PDF
  • ExcelConverter.exe -list List.txt C:\PDF\ -cPDF
    Convert all files from file list List.txt to PDF and place them to C:\PDF\
  • ExcelConverter.exe C:\Documents\index.xls C:\Pages\Doc1.csv -c csv -td Other -tdo "="
    Convert file Index.xls into CSV file with delimiter =
Site Map  |  Contacts |  Press Center | Resellers | About |  Privacy Policy |    Copyright © 1998-2015 CoolUtils Development. All rights reserved.