Initializing help system before first use

# Changing the Working Directory

By default, the working directory of the running Mosel model is the directory containing the source file. If the model reads any input files or writes any output files, they are read from or written to this directory.

Complete the following steps to change the working directory:

1. Run the model by following the instructions above.
2. Either wait for the model to finish executing or click the Stop button to interrupt it.
3. When the model has finished executing, click the CWD button in the Output window.
4. Choose the working directory for the model and click Select.
5. Run the model again. This time it runs in the newly selected working directory.
   Note: If the project contains a top-level directory named model_resources, the working directory is set to this directory by default. This makes the runtime environment for an Xpress Insight app similar to how it is when the app runs on an Xpress Insight server, when Xpress Insight copies the contents of the model_resources directory into the working directory.

Parent Topic Running and Debugging Models

© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.