I am not Windows batch file expert but maybe following batch file snippet will work:
---
setLocal EnableDelayedExpansion
SET L=
FOR /f %%G IN ( ip.txt ) DO SET L=!L! %%G
ECHO %L%
java -jar AirRecorder-1.7.3-release.jar %L%
---
Put the IP addresses one per line into the file "ip.txt".
Hope this helps,
-Thomas
------------------------------
Thomas Bastian
------------------------------
Original Message:
Sent: Jul 27, 2021 02:53 PM
From: van dammages
Subject: Air recorder run on multiple controllers
Hi I am on windows server 2012.
any other options?
------------------------------
van dammages
Original Message:
Sent: Jul 05, 2021 12:14 PM
From: Thomas Bastian
Subject: Air recorder run on multiple controllers
Hi,
if you are on MacOS/Linux, you can use this:
java -jar AirRecorder-1.7.3-release.jar `cat x`
with x being a file where you have one IP per line.
HTH,
-Thomas
------------------------------
Thomas Bastian
Original Message:
Sent: Jun 30, 2021 04:15 PM
From: van dammages
Subject: Air recorder run on multiple controllers
Does anyone know how to use Air Recorder to run command on Multiple controllers.
specify a file with all the controllers IP
I can make it run if I paste all IPs in one line via CLI, but checking how to do this by specifying a file with controllers from a list.
thanks for the help.
------------------------------
van dammages
------------------------------