「Windows」- Shell、CMD


修改 PATH 变量

Windows 10 and Windows 8

How do I set or change the PATH system variable?

In Search, search for and then select: System (Control Panel)
Click the Advanced system settings link.
Click Environment Variables.
In the section System Variables find the PATH environment variable and select it.
Click Edit. If the PATH environment variable does not exist, click New.
In the Edit System Variable (or New System Variable) window, specify the value of the PATH environment variable. Click OK. Close all remaining windows by clicking OK.
Reopen Command prompt window, and run your command.