@echo off setlocal rem Install service cdesignd. if "%OS%"=="Windows_NT" goto nt echo This script only works with NT-based versions of Windows. goto :eof :nt rem Find the application home. rem %~dp0 is location of current script under NT set REALPATH=%~dp0 rem echo my home is %REALPATH% echo. echo Please make sure %REALPATH% is in your PATH and copy echo your JDBC driver(s) to %REALPATH%\..\lib\ echo. set JAVACMD=java if exist %JAVA_HOME%\bin\java set JAVACMD=%JAVA_HOME%\bin\java echo Let's see if you have java installed and JAVA_HOME or PATH set accordingly. echo Calling %JAVACMD% -version %JAVACMD% -version echo. echo To learn the syntax of jdbc2xml, please call echo jdbc2xml help echo at any time. echo. :eof