@echo off :: This script sets environment variables for Java and PostgreSQL :: for CSE 444 in fall 2010, and spawns a subshell with these variables set. :: Only use this script unmodified when on Windows computers in the CSE Instructional Labs; :: it makes assumptions about directory paths that only apply to those systems. set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_21 set PSQL_HOME=C:\Program Files\PostgreSQL\8.4 set PSQL_JDBC_DRIVER=C:\Program Files\psqlJDBC\postgresql-8.4-701.jdbc4.jar set MSSQL_JDBC_DRIVER=C:\Program Files\Microsoft SQL Server 2008 JDBC Driver\sqljdbc4.jar path %JAVA_HOME%\bin;%PSQL_HOME%\bin;%path% set CLASSPATH=%CLASSPATH%;.;%PSQL_JDBC_DRIVER%;%MSSQL_JDBC_DRIVER% start "CSE 444 Shell"