Link Search Menu Expand Document

Convert in Batch to XLS - Console

Spreadsheet SDK sample in Console demonstrating ‘Convert in Batch to XLS’

ConvertToXLS.bat
set current_dir=%CD%

@echo off

rem  This command will convert all files from "Input Files" directory to XLS format.
rem  Converter will use ";" delimiter when reading CSV and TXT files.

"%PROGRAMFILES%\Bytescout Spreadsheet SDK\Console\Bytescout.Spreadsheet.Console.exe" ".\Input Files\*.*" /F XLS /O ".\Output Files" /D ";"

pause
txt_sample.txt
Homer;Homer Jay Simpson
Marjorie;Marjorie Marge Simpson (Bouvier)
Bartholomew;Bartholomew Jojo Bart Simpson
Lisa;Lisa Marie Simpson
Margaret;Margaret Maggie

Download Source Code (.zip)

Return to the previous page Explore Spreadsheet SDK