“flash_windows.bat” fails to run on Windows.
Context:
I am trying to follow this tutorial to flash my Arduino Nano 33 BLE Sense. I downloaded the provided files and just as the tutorial says I tried executing the flash_windows.bat
file through Command Prompt. But it fails with this message:
'arduino-cli version' is not recognized as an internal or external command, operable program or batch file.
I’ve tried running my Command Prompt s Administrator but the issue still persists. The worse part is that when I try entering the command "arduino-cli version"
manually it seems to be working fine and prints the latest version. I’ve even tried adding it manually to the SYSTEM_PATH but that doesn’t work either.
Any help would be apreciated!