Convert Excel Files Via Command Line With Total Excel Converter
Usage: ExcelConverter.exe <source> <destination> <options>
If you have path with spaces, use quotation marks.
By the way You can use macroses 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:\20100304_1221Options:
- -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 - Destination file format
- doc - convert to Word file
- pdf - convert to PDF file
- htm - convert to HTML file
- txt - convert to Text file
- jpg - convert to JPeg file
- tiff - convert to TIFF file
- odt - OpenDocument Text format
- ods - OpenDocument Spreadsheet format
- csv - convert to Comma Separated Value file
- xlsx - Export data to XLSX format
- xml - Export data to XML format
- sql - Export data to SQL format
- wk2 - Export data to Lotus format
- dbf - Export data to dbf format
- tex - Export data to LaTeX format
- dif - Export data to Data Interchange File format
- slk - Export data to Symbolic Links format
- -TD - Text Delimiter
- None - Use None
- Tab - Use Tab
- Space - Use Space
- CSV - Use CSV |
- -cs - Combine Sheets into one file
- -ps - Paper Size
- A3 - A3
- A4 - A4
- A5 - A5
- B5 - B5
- Letter - Letter
- Legal - Legal
- -po - PDF Paper orientation
- p - Portrait
- l - Landscape
- -PgSep - Every page into separate file
Examples:
- ExcelConverter.exe C:\Documents\index.xls C:\Pages\Doc1.doc -c doc
Convert file Index.xls into Word document Doc1.doc