Skip to content

Instantly share code, notes, and snippets.

@cl4rk3
cl4rk3 / batch.properties
Created August 14, 2010 16:31
Batch script to manipulate arbitrary Windows environment variables from the command line
PROJECT_ROOT=C:\development
JAVA_VERSION=1.5.0_11
JAVA_HOME=%PROJECT_ROOT%\java%JAVA_VERSION%
ANT_HOME=%PROJECT_ROOT%\tools\apache-ant-1.8.1
PATH=%JAVA_HOME%/bin;%PATH%;%ANT_HOME%/bin;