Quick configuration of Windows command line environment variables

  
                                                                                                                                                                                         After we have installed the JDK, we need to configure the java toolpath bin and classpath. In the configuration path /classpath, usually we do this. As shown below: Now we configure it through the command line this faster way. The Windows command line command set is used to view and set environment variables for the command line environment. 1) View all environment variables Set2) View the environment variables of the specified name, such as viewing the classpathSet PropertiesName, if the specified name does not exist, it will report an error. And when viewing, you can also match the view. 3) Modify the environment variable Set PropertiesName = Value4) Create the environment variable Set NewPropertiesName = Value This environment variable is created when the environment variable does not exist. 5) Empty environment variable Set PropertiesName =, where nothing is written, it will delete the environment variable rather than empty, oh, if you want to configure is empty, set Properties = & ldquo; & rdquo;


Copyright © Windows knowledge All Rights Reserved