C:\>rem @echo off
C:\>rem ##########################################################################
C:\>rem # Scala compiler 2.3.0
C:\>rem ##########################################################################
C:\>rem # Copyright 2002-2006 LAMP/EPFL
C:\>rem #
C:\>rem # This is free software; see the distribution for copying conditions.
C:\>rem # There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
C:\>rem # PARTICULAR PURPOSE.
C:\>rem ##########################################################################
C:\>rem We adopt the following conventions:
C:\>rem - System/user environment variables start with a letter
C:\>rem - Local batch variables start with an underscore ('_')
C:\>if "Windows_NT" == "Windows_NT" () else (set _SCALA_HOME=D:\scala & if "" == "" goto error1 )
C:\>set _BIN_DIR=
C:\>FOR %i in (D:\scala\bin\scalac.bat) do set _BIN_DIR=%~dpsi
C:\>set _BIN_DIR=D:\scala\bin\
C:\>set _SCALA_HOME=D:\scala\bin\..
C:\>goto :eof
C:\>rem We use the value of the JAVACMD environment variable if defined
C:\>set _JAVACMD=
C:\>if "" == "" set _JAVACMD=java
C:\>set _EXTENSION_CLASSPATH=
C:\>if "" == "" (FOR %f in ("D:\scala\bin\..\lib\*") do call :add_cpath "%f" & if "Windows_NT" == "Windows_NT" \
(FOR /D %f in ("D:\scala\bin\..\lib\*") do call :add_cpath "%f" ) )
C:\>call :add_cpath "D:\scala\bin\..\lib\sbaz.jar" & if "Windows_NT" == "Windows_NT" (FOR /D %f in ("D:\scala\b\
in\..\lib\*") do call :add_cpath "D:\scala\bin\..\lib\sbaz.jar" )
C:\>if "" == "" (set _EXTENSION_CLASSPATH= ) else (set _EXTENSION_CLASSPATH=; )
C:\>goto :eof
C:\>call :add_cpath "D:\scala\bin\..\lib\scala-actors.jar" & if "Windows_NT" == "Windows_NT" (FOR /D %f in ("D:\
\scala\bin\..\lib\*") do call :add_cpath "D:\scala\bin\..\lib\scala-actors.jar" )
C:\>if "" == "" (set _EXTENSION_CLASSPATH= ) else (set _EXTENSION_CLASSPATH=; )
C:\>goto :eof
C:\>call :add_cpath "D:\scala\bin\..\lib\scala-compiler.jar" & if "Windows_NT" == "Windows_NT" (FOR /D %f in ("\
D:\scala\bin\..\lib\*") do call :add_cpath "D:\scala\bin\..\lib\scala-compiler.jar" )
C:\>if "" == "" (set _EXTENSION_CLASSPATH= ) else (set _EXTENSION_CLASSPATH=; )
C:\>goto :eof
C:\>call :add_cpath "D:\scala\bin\..\lib\scala-dbc.jar" & if "Windows_NT" == "Windows_NT" (FOR /D %f in ("D:\sc\
ala\bin\..\lib\*") do call :add_cpath "D:\scala\bin\..\lib\scala-dbc.jar" )
C:\>if "" == "" (set _EXTENSION_CLASSPATH= ) else (set _EXTENSION_CLASSPATH=; )
C:\>goto :eof
C:\>call :add_cpath "D:\scala\bin\..\lib\scala-decoder.jar" & if "Windows_NT" == "Windows_NT" (FOR /D %f in ("D\
:\scala\bin\..\lib\*") do call :add_cpath "D:\scala\bin\..\lib\scala-decoder.jar" )
C:\>if "" == "" (set _EXTENSION_CLASSPATH= ) else (set _EXTENSION_CLASSPATH=; )
C:\>goto :eof
C:\>call :add_cpath "D:\scala\bin\..\lib\scala-library.jar" & if "Windows_NT" == "Windows_NT" (FOR /D %f in ("D\
:\scala\bin\..\lib\*") do call :add_cpath "D:\scala\bin\..\lib\scala-library.jar" )
C:\>if "" == "" (set _EXTENSION_CLASSPATH= ) else (set _EXTENSION_CLASSPATH=; )
C:\>goto :eof
C:\>set _BOOT_CLASSPATH=
C:\>if "" == "" (if exist "D:\scala\bin\..\lib\scala-library.jar" (set _BOOT_CLASSPATH=D:\scala\bin\..\lib\scala\
-library.jar ) & if exist "D:\scala\bin\..\lib\library" (set _BOOT_CLASSPATH=D:\scala\bin\..\lib\library ) )
C:\>set _ARGS=
C:\>rem Argument -help may contain quotes so we use parentheses here
C:\>if (-help) == () goto exec
C:\>set _ARGS= -help
C:\>shift
C:\>goto loop
C:\>rem Argument may contain quotes so we use parentheses here
C:\>if () == () goto exec
C:\>set _PROPS=-Dscala.home="D:\scala\bin\.." -Denv.classpath="D:\scala\lib\scala-compiler.jar" -Dscala.tool.nam\
e="Scala compiler" -Dscala.tool.version="2.3.0"
C:\>rem echo java -Xbootclasspath/a:"D:\scala\bin\..\lib\scala-library.jar" -Xmx256M -Xms16M -Dscala.home="D:\sc\
ala\bin\.." -Denv.classpath="D:\scala\lib\scala-compiler.jar" -Dscala.tool.name="Scala compiler" -Dscala.tool.ve\
rsion="2.3.0" -cp "" scala.tools.nsc.Main -help
C:\>java -Xbootclasspath/a:"D:\scala\bin\..\lib\scala-library.jar" -Xmx256M -Xms16M -Dscala.home="D:\scala\bin\.\
." -Denv.classpath="D:\scala\lib\scala-compiler.jar" -Dscala.tool.name="Scala compiler" -Dscala.tool.version="2.\
3.0" -cp "" scala.tools.nsc.Main -help
C:\>goto end
C:\>if "Windows_NT" == "Windows_NT"
|