KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Defining where to store Temporary Files
PRODUCT: 4D | VERSION: 6.5 | PLATFORM: Mac & Win
Published On: June 30, 2000
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

NOTE: This tech tip is only applicable to version 6.5.x or later

You can now designate the location on your disk where you want 4D to store the temporary files that are created while the database is executing. 4D mainly uses temporary files for transactions and named selections. By default, temporary files are managed automatically, as in previous versions of 4D. Temporary files are placed on volume C for Windows OS, on Mac OS, 4D places temporary files on the volume that has the most available free space (without taking into consideration mounted distant volumes).

To modify the location of the temporary folder:

In the Database Properties dialog box, click on the "System settings" tab. The following page appears:



By default, the Automatic option is selected.

1. Click on the "User Defined" radio button.
The Browse... button becomes enabled.
2. Click on the Browse... button.
A standard open file dialog box appears.
3. Search for and select the location where you want to place the temporary folder and accept the dialog box.

Temporary files for named selections and transactions will then be written to the location indicated. The personalized access path is stored in 4D's preferences file.

Note: If the access path is incorrect, the Automatic mode is reactivated (without the option being modified in the Database Properties dialog box). It is the database developer's responsibility to make sure that the access path (names of the volumes or folders) is not modified.