View Single Post
Old 2020-01-03, 12:54   #148
robert44444uk's Avatar
Jun 2003
Oxford, UK

22×3×7×23 Posts

Originally Posted by pinhodecarlos View Post
Would like to take from 6.8e15 to 7.2e15 but I can't seem to manage to write the output on an txt file. Is the below correct? Will it only write all DOS command output at the end of the run?

@echo off

SET kmin="7100000000000000"
SET kmax="7200000000000000"
SET mingap=3000

start /low /min twingaps3.exe -k1 %kmin% -k2 %kmax% -mingap %mingap% >> logfile.txt

Hi there, happy New Year.

The way to do this is to edit the test.bat file just changing the limits, save it and then at the command prompt type in

test.bat >> results.txt
robert44444uk is offline   Reply With Quote