@echo off :: This script sets environment variables for Java and PostgreSQL :: for CSE 444 in fall 2008, and spawns a subshell with these variable set. :: Only use this script 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_07\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-603.jdbc4.jar start