Windows environment variables

Source: Internet
Author: User

Environment variable: An environment variable is an object with a specific name in the operating system that contains the information that one or more applications will use. For example, the PATH environment variable in Windows and DOS operating system, when the system is required to run a program without telling it the full path of the program, in addition to the current directory in the search for this program, but also in path specified in the path to find . The user can run the process better by setting the environment variables.

Setup Method

Right-click My Computer-Advanced system settings-environment variables-there is a path option in the system variable-double hit open-add a semicolon in the English state based on the original variable-and then enter the path name. (remember, do not delete the original system variables, as long as separated by semicolons, and then add, and finally a semicolon)

editing methods in cmdMethods for editing environment variables on the command line view all currently available environment variables (= System variables + user variables) Set view an environment variable, such as Pathset path add environment variable, such as Xxx=aaset XXX=AA set the value of an environment variable (such as XXX) to an empty set xxx= Add a new value (such as d:\xxx) after an environment variable (such as PATH) set path=%path%;d: \xxx (note: In a DOS window, the operation of the environment variable is only valid for the application of the current window) after setting the environment variable to restart

I just downloaded and installed Scala and set up environment variables, but I still can't find the target when I open Scala in cmd.

Here's the address that explains the problem, but I don't understand it yet.

http://blog.163.com/guomaolin_gavin/blog/static/19961830720121114929321/

Windows environment variables

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.