Directly press WIN+S on the keyboard to open Windows Search
and search for "Edit System Environment Variables"
You can also 右键此电脑->属性->高级系统设置
open the same interface
Click on Environment Variables
Generally, adding is adding to the Path in the box, double-click to see the existing environment variables and edit them
For example, I wrote in my blog that after decompressing the Java jdk, add bin
the directory to the environment variable
Copy the path, then click New in the edit environment variable, and paste the path
Then click OK, I have already added it here, so there is no need to add it again
Written ❤️ sywdebug.