@echo off :: This script sets environment variables for Java and PostgreSQL :: for CSE 444 in spring/summer 2009, 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. if "%Processor_Architecture%" == "x86" set ProgramFiles(x86)=%ProgramFiles% path %ProgramFiles(x86)%\Java\jdk1.6.0_13\bin;%ProgramFiles(x86)%\PostgreSQL\8.3\bin;%path% set CLASSPATH=%CLASSPATH%;%ProgramFiles%\Microsoft SQL Server 2005 JDBC Driver\sqljdbc_2.0\enu\sqljdbc4.jar;%ProgramFiles(x86)%\psqlJDBC\postgresql-8.3-604.jdbc4.jar start "CSE 444 Shell"