永久设置环境变量

echo off
setx JAVA_HOME "D:\Program Files\java\jdk1.6.0_35" /m
setx PATH "%PATH%;%JAVA_HOME%\bin" /m
setx CLASS_PATH "%CLASS_PATH%;%JAVA_HOME%\lib;%JAVA_HOME\lib\tools.jar"/m
setx MULE_HOME "$INSTALL_PATH\mule-standalone-3.3.1" /m
setx PATH "%PATH%;%MULE_HOME%\bin" /m

你可能感兴趣的:(环境变量)