An environment variable is an object with a specific name in the operating system that contains information that will be used by one or more applications. For example, the path environment variable in Windows and DOS operating systems, when the system is required to run a program without telling the full path of the program, the system should look for the program in the path, in addition to the path specified in the path. . Users can run processes better by setting environment variables. Know what the environment variable is? Then how to set the environment variable path in the win7 system?
There are two ways to set the environment variable: the first one is set in the command prompt run window; The two are set by clicking on the "My Computer & Rarr; Properties & Rarr; Advanced" tab's "Environment Variables" button setting. It should be noted that the first way to set environment variables is only valid for the current running window. After closing the running window, the setting will not work, and the second way to set environment variables is permanent. As shown in Figure 1
Figure 1 Environment Variables
First: Set the environment variable in the Command Prompt window?
1. At “Start →Run” Enter “cmd” in the box and press the “OK" button to display the command run window. Enter “path” at the command prompt to view the environment variable settings. As shown in Figure 2
Figure 2 path command
How to change the setting of an environment variable? There are two cases to change the environment variable:
One is the append mode, that is, it does not change In the case where the environment variable is currently set, increase the value of the variable. For example, to add a value of "D:/Python" to the environment variable, enter "ldpath;path=%path%;D:/Python”".
The other is a complete modification method. For this method, we can implement it by directly creating an environment variable.
Second: modify environment variables under win7 PATH
windows system environment variable description
%USERPROFILE% means C:DocumentsandSettings current user name
% ALLUSERSPROFILE% means C:DocumentsandSettingsAllUsers
%APPDATA% means C:DocumentsandSettings current user name ApplicationData
%ALLAPPDATA% means C:DocumentsandSettingsAllUsersApplicationData
%SYSTEMDRIVE% means C:
%HOMEDRIVE% means C:
%SYSTEMROOT% means C:WINDOWS
%WINDIR% means C:WINDOWS
%TEMP% and %TMP% C:DocumentsandSettings current user name LocalSettingsTemp
%ProgramFiles% means C:ProgramFiles
%CommonProgramFiles% means C:ProgramFilesCommonFiles
The environment variable setting method is introduced here, hope It is helpful for users who have needs in this area.
Users who are keen on the new system, after seeing the new version of Win8, will be eager to upgrade
During the process of using Win8 system, sometimes we find that the display has image jitter conditi
At the Ignite conference in Chicago today, Microsoft showed off the latest Windows 10 release and so
According to the news from the parties in the past few days, the official version of Win10 RTM may b
Win7, XP system disable and restore the control panel, registry editor, group policy method
Winxp input method icon is gone. Winxp input method icon retrieval method
After 30 days of Win10, how can I lose back and down?
Win10 changes music, pictures, videos and documents default save location graphic tutorial
What should I do if win7 cannot recognize 2T Seagate hard drive?
Brand computer pre-installed Win8/Win8.1 OEM system version key how to view
Win10/win8.1/win7 system encountered Chinese and English input method can not switch how to do?
Haier computer U disk reloading system win7 step graphic tutorial
Solution for resource manager restart during win7 system use
WinXP pops up the Alteter control alarm how to disable
Open the Win7 computer to open the desktop and start the menu bar with a blank solution
Computer can not install software under WindowsXP reason analysis
Win8.1 recovery method of disabled virtual WiFi adapter
Solve the problem of win7 user webpage playing no sound
The computer can not shut down properly
Talking about the cleaning and maintenance of computer case
Win10 system to replace the photo viewer background color method