'How to make the envirinment variables adjustment persist all the time (using command line)?

In Windows 10, I try to modify the PATH environment variable from the command line like this:

set PATH=%PATH%c:\Oracle\instantclient_21_3\;

However, when I close and reopen the cmd window, this change disappears. How to make the PATH adjustment persist all the time (using command line)?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source