Response file installation using a batch file (Windows)

You can use a batch file to start a response file installation.


To start a response file installation using a batch file:

  1. Edit or create your response file.
  2. Create your batch file using a text editor.
    For example, create a batch file called ese.bat with the following content to install Db2® Enterprise Server Edition:
       c:\db2ese\setup /U c:\PROD_ESE.rsp
       echo %ERRORLEVEL%
    where /U specifies the location of the response file and echo %ERRORLEVEL% specifies that you want the batch process to display the installation return code.
  3. Run the batch file, using the ese.bat command issued from a command prompt.