Convert Spreadsheets from Command Line – Spreadsheet SDK Console Version

  • Home
  • /
  • Articles
  • /
  • Convert Spreadsheets from Command Line – Spreadsheet SDK Console Version

Convert spreadsheet files from command line using Spreadsheet SDK Console version!

Console version (Bytescout.Spreadsheet.Console.exe) is included with the latest versions of Bytescout Spreadsheet SDK to let you convert spreadsheet files directly from command line or .bat command files.

Bytescout Spreadsheet SDK license allows you to distibute Bytescout.Spreadsheet.Console.exe and Bytescout.Spreadsheet.dll along with your end-user product/application royalty-free. You can find copies of Bytescout.Spreadsheet.Console.exe and Bytescout.Spreadsheet.dll for redistribution in /Redistributable/net2.00/ folder (in full version only).

See the full list of supported command line switches for Bytescout.Spreadsheet.Console.exe:
 

	Bytescout Spreadsheet SDK Console 2.2.0.554

Usage:  Bytescout.Spreadsheet.Console.exe <filename> <parameters...>

   <filename>    Input document of one of following formats:
                 XLS, XLSX, ODS, CSV, TXT.

                 Wildcards are supported.

   Parameters:

   /N <regname>  Spreadsheet SDK registration name. Must be quoted if contains
                 spaces.

   /K <regkey>   Spreadsheet SDK registration key.

   /F <format>   Output format.

                 Allowed values: XLS | XLSX | CSV | TXT | HTML

   /I            Skip empty worksheets when converting to CSV and TXT.

   /H            Skip hidden worksheets when converting to CSV and TXT.

   /S            Create sub-folder for multiple HTML, CSV and TXT files created
                 from spreadsheets containing two or more worksheets.

   /D <char>     Delimiter character for comma-separated formats.
                 Must be quoted. Use "t" for TAB character.

                 Default delimiter is comma ",".

   /U <char>     Quotation character for comma-separated formats.

                 Must be quoted. Default character is the double quote.
                 Use "" for no quoting.

   /O <dir>      Directory for output files. Must be quoted if contains spaces.

   /Q            Quiet mode, do not ask to overwrite exising files.


Example:

   Bytescout.Spreadsheet.Console.exe "..My DocumentsNew*.xls" /F HTML /O D:Output
   Bytescout.Spreadsheet.Console.exe orders.csv /F XLS /D ";" /U "'" /O D:Output

prev
next