Hello everyone, I hope I'm at the right place to ask this question. When trying to run a .bat file in command prompt, the following error occurs: 'a was unexpected at this time'. I'm very new to batch scripting, would anyone please explain what is wrong with the following code?
@echo off
for a in {20, 40, 80};
do
for b in {80, 160};
do
for c in {1..3};
do
for d in {1..10};
do
for e in {1..6};
do
for f in {0..6};
do if $e<$f echo " " $e $f >> output.txt START ThesisVelo.exe distancematrix_$a.txt ordersheet_$a_$b_$d $c $d $e $f >> output.txt;
done
done
done
done
done
done