Am 19. Mai 2020 um 10:15 Uhr schrieb "Khosravi, Nika":
> Hi Kai,
>
> thank you for answering. I tried this "set OCTAVE_EXECUTABLE=C:\Octave\Octave-5.x.x.x\mingw64\bin\octave-cli.exe" but it didn't work :(
I'm pretty sure the "x.x.x" in the path that you wrote in your original message was a place holder for the version you installed.
For Octave 5.2.0, the path to the executable would be:
"C:\Octave\Octave-5.2.0\mingw64\bin\octave-cli.exe"
So for that version, you would issue the following command:
set OCTAVE_EXECUTABLE="C:\Octave\Octave-5.2.0\mingw64\bin\octave-cli.exe"
Did you try with the correct path for the version you installed?
> How can I set "octave-cli.exe" to my PATH environment variable?
There are many instructions online that guide you through the process. Chose the one you like most:
https://www.google.com/search?q=add+to+the+path+on+windows+10
HTH,
Markus