Set the value of the Windows system path variable with CMD
Method 1
wmic ENVIRONMENT create name="Variable",username="<system>",VariableValue="Variable"
Method 2
setx path "%path%;New Path"
Method 3
set path=%path%;New Path
Read More:
- ERROR: The environment variable VG_GNU_PACKAGE must be set. Aborting.
- Bug001: error in gradle configuration environment variable: ERROR:JAVA_ Home is set to an invalid directory!
- Node configuration environment variable and global installation of webapck
- You set the variable “no_check_targets“ here and it was unused before it went out of scope.
- Can’t find Python executable “D:\python3\python.exe”, you can set the PYTHON env variable.
- Error: Could not locate Flask application. You did not provide the FLASK_APP environment variable.
- Global variable error: unboundlocalerror: local variable ‘l’ referenced before assignment
- Anaconda create environment, delete environment, activate environment, exit environment
- pg_ctl: no database directory specified and environment variable PGDATA unset , centos 7 postgreSQL
- Differences between shell script variable assignment and C language variable assignment
- After the vs2013 + OpenGL environment is set up, there is an error in running the first program
- Error: global variable is ambiguous (conflict between using namespace STD and global variable)
- sys.path.append(), os.path.exists(), os.path.join() and os.makedirs() meaning
- Relative path and absolute path${ pageContext.request.contextPath }
- zookeeper Failed to Startup: Error: JAVA_HOME is not set and java could not be found in PATH
- Configuration of OpenGL development environment under Windows environment, win10 + vs2019 + glfw + glad
- The spring boot set appears in the stand-alone version of redis Servlet.service () for servlet [dispatcherServlet] in context with path [] thr
- Use sc command under CMD, report openservice failed 1060 error
- Windows 7 system, start to run input CMD, the window flashed by, disappeared
- Python UnboundLocalError: local variable ‘num’ referenced before assignment