## exe4j Wizard - Redirection |

Note: this advanced option screen is reachable by selecting the "Executable" step and choosing "Redirection" from the [Advanced options] popup menu or by clicking directly on the index.

In this step of the exe4j wizard, you can configure the redirection settings for stderr and stdout.

The following redirection settings can be edited:

- Redirection of stderr
  To redirect stderr to a file, select the `Redirect stderr` checkbox and enter a file name in the adjacent text field. The file name is interpreted relative to the executable.
- Redirection of stdout
  To redirect stdout to a file, select the `Redirect stdout` checkbox and enter a file name in the adjacent text field. The file name is interpreted relative to the executable.

You can use environment variables in the redirection files with the following syntax: `${VARIABLE_NAME}` where you replace VARIABLE_NAME with the desired environment variable.