FlowHeater Logo

FlowHeater Support Forum

simply more productive

Download the freeware version (10 Mb)

Up to 100,000 records can be processed with the freeware version!

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Trying to batch run a command

Trying to batch run a command 3 years 8 months ago #2315

  • FlowHeater-Team
  • FlowHeater-Team's Avatar Topic Author
  • Offline
  • Posts: 278
Hello, could you possibly help me with the following batch command?

I’m trying to batch run a command “Excel-to-Multi-Brand.fhd”

With the following
@echo off

FHBatch.exe /MaxRows 10000 C:\Users\bgreenway\Google Drive\Product Data\Excel-to-Multi-Brand.fhd
if %ERRORLEVEL% LSS 0 goto error

echo OK
goto end

:error
echo error

:end

I’ve also tried:
@echo off
REM adapt the following to the actual path of FHBatch.exe
set FHBATCH=""C:\Program Files (x86)\FlowHeater V3\BIN\FlowHeater.exe"

%FHBATCH% Excel-to-Multi-Brand.fhd

Neither seem to work, I will admit I’m new to command lines

Bryan Greenway
Request received via E-Mail

Please Log in or Create an account to join the conversation.

Best wishes
Robert Stark

Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.

Trying to batch run a command 3 years 8 months ago #2316

  • FlowHeater-Team
  • FlowHeater-Team's Avatar Topic Author
  • Offline
  • Posts: 278
Hi Bryan,

This is related to the spaces in your path definition. Please try the following Batch CMD command script.
@echo off

REM adapt the following to the actual path of FHBatch.exe
set FHBATCH="C:\Program Files (x86)\FlowHeater V3\BIN\FlowHeater.exe"

%FHBATCH% "C:\Users\bgreenway\Google Drive\Product Data\Excel-to-Multi-Brand.fhd"
if %ERRORLEVEL% LSS 0 goto error

echo OK
goto end

:error
echo error

:end

Please Log in or Create an account to join the conversation.

Best wishes
Robert Stark

Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.
  • Page:
  • 1
Time to create page: 0.082 seconds