# ij.outfile

#### Function

Specifies a file to which the system should direct output for a session. Specify the file name relative to the current directory, or specify the absolute path.

#### Syntax

    ij.outfile=fileName

#### Example

    java -Dij.outfile=out.txt org.apache.derby.tools.ij myscript.sql

Parent topic: ij properties reference
Related reference
ij.connection.connectionName
ij.database
ij.dataSource
ij.driver
ij.maximumDisplayWidth
ij.password
ij.protocol
ij.protocol.protocolName
ij.showErrorCode
ij.URLCheck
ij.user
derby.ui.codeset