PATH is an environment variable that specifies the search path for executable files. On Windows, paths are written, for example, like this:
- with the setx command from Support Tools:
setx path "% PATH%; C: \ New Folder"
, - by changing the registry key:
HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Session Manager \ Environment
, - in interface: My Computer – & gt; Properties – & gt; Environment Variable, etc.
Answer 1, authority 100%
In Windows, paths are written, for example, like this:
And on Linux like this: (just in case)
$ echo $ {PATH}
/ usr / local / bin: / usr / bin: / bin: / opt / bin
$ export PATH = "$ {PATH}: / opt /"
$ echo $ {PATH}
/ usr / local / bin: / usr / bin: / bin: / opt / bin: / opt /
The export PATH = ...
command can be placed in ~ / .bashrc
to avoid typing every time.