@echo off

REM *** Here you may change the installation path for FHBatch.exe
REM *** with a 32 bit installtion you need to use the following path
REM *** 32 BIT !!! set FHBATCH="C:\Program Files (x86)\FlowHeater V4\BIN\FHBatch.exe"

REM *** we expect a 64-bit installation
set FHBATCH="C:\Program Files\FlowHeater V4\BIN\FHBatch.exe"

REM *** Step 1: Export CSV to SQLite Datenbank
%FHBATCH% Import-CSV-into-SQLite.fhd

REM *** Step 2: Enrich the SQLite data with the Excel worksheet
%FHBATCH% Import-Excel-into-SQLite.fhd

REM *** Step 3: Export flat file report from the SQLite database
%FHBATCH% Export-SQLite-FlatFile.fhd
