View sourceprint? 01 set sysenv = CreateObject ("WScript. Shell ")
02
03 sysenv. Environment ("system"). Item ("CYGWIN_HOME") = "E: \ APP \ cygwin"
04 sysenv. Environment ("system"). Item ("M2_HOME") = "E: \ APP \ maven"
05 sysenv. Environment ("system"). Item ("GIT_HOME") = "E: \ APP \ git"
06 sysenv. Environment ("system"). Item ("SVN_HOME") = "E: \ APP \ svn"
07 sysenv. Environment ("system"). Item ("ANT_HOME") = "E: \ APP \ ant"
08 sysenv. Environment ("system"). Item ("JAVA_HOME") = "E: \ Java \ JDK \ jdk6"
09 sysenv. Environment ("system"). Item ("Classpath") = "..; % JAVA_HOME % \ lib \ dt. jar; % JAVA_HOME % \ lib \ tools. jar"
10
11 path = ".; % CYGWIN_HOME % \ bin; % ANT_HOME % \ bin; % M2_HOME % \ bin; % JAVA_HOME % \ bin; % SVN_HOME % \ bin; % GIT_HOME % \ bin ;"
12 path = path & "C: \ Windows \ system32; C: \ Windows ;"
13 sysenv. Environment ("system"). Item ("Path") = path
Author: "azheng's blog"