Run a batch file from Processing

It was not the solution that I needed, but it is surely helpfull. I needed this as well for the next step.

In the meantime I found out in that horrible batch language how to set relative paths.

SET mypath=%~dp0

echo "BUILDING"
%mypath:~0,-1%\Arduino-cli\arduino-cli compile -b arduino:avr:uno %mypath:~0,-1%\arduinoProgram

This %~dp0 and mypath:~0,-1 make total sense :expressionless:

Kind regards :tumbler_glass:

Bas