Basically, I don't use windows very much. Sometimes once I use it, I forget the environment variables set in it.
1. Setting the system can be set directly with cmd
set ERLANG_HOME=C:\Program Files\erl9.3 # 下次就可以直接cd %ERLANG_HOME% 进入
这样就设置好了,如下图
Only temporary environment variables can be set with cmd, and manual configuration is required to set permanent ones.
set path=%path%;%ERLANG_HOME% # %path% means appending. If you don't write it, it will cover everything.