Using DOS to set environment variables

wmic ENVIRONMENT create name="SVN_HOME", username="Kevin", VariableValue="C:\Programes\SVN"

wmic ENVIRONMENT create name="SVN_HOME", username="<system>", VariableValue="C:\Programes\SVN"

Show all variables:

SET

svn

相关推荐