As BaseX is a portable application, it dynamically determines its home directory. Three potential choices for the home directory exist:
* By default, the '''user's home directory''' is chosen to store the BaseX configuration and database files.* The '''current working directory''' is will be selected if the configuration files are found in this directory. This way, you can define local settings, which will be ignored if you run BaseX from another directory.* Second, the '''application directory''' is checked for configuration files. This directory will be chosen, e.g., your home directory if you have used the Windows installer has been used Installer to get BaseX running.* In all other cases, the '''user's home directory''' is chosen to store the BaseX configuration and database files.
==Database Directory==