Wednesday, November 29, 2017

Adding Octave 4 (CLI) to system path variable (Windows 10)


I installed Octave 4 (from here) which has both a GUI and a CLI.
However, Octave doesn't seem to be added to the PATH variable, so typing octave or octave-cli into the command line doesn't do anything.
Is there a way to fix that (without adding all the other executables in Octave's bin directory to PATH as well)?


I use Windows 10.


Answer



How do I add Octave (CLI) to system path variable (Windows 10)?



Is there a way to fix that (without adding all the other executables in Octave's bin directory to PATH as well).



You don't add .exe files to the PATH, you add directories.


So you should add C:\Program Files\Octave\bin (or whatever your installation is) to PATH.


See How do I set system environment variables in Windows 10? for instructions on how to modify envronment variables (like PATH).


No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...