In general, the default “Spaces” location can be changed via the client. However, TeamDrive will automatically create a new “Spaces” folder in this location. This post is to explain how to change the Spaces path without a new “Spaces” folder being created.

Simply put, to change the default Spaces directory without a new “Spaces” folder being created you need to enter the absolute path directly into the “teamdrive.settings” file.

The “teamdrive.settings” file is located in the default location of the TeamDrive database (data directory). Even if the TeamDrive database location has been changed, the “teamdrive.settings” file will still be in the original location (it will not be moved along with database).

Please use the following link to find out how to find the TeamDrive data directory.

Once you have found the “teamdrive.settings” file, please do the following:
  1. Quit TeamDrive
  2. Open the “teamdrive.settings” file with a text editor.
  3. In the section ‘[Settings]’ enter the absolute path of the new Spaces directory. Please be aware that the absolute path should be entered using Unix-style slashes (e.g. ‘/’).
  4. The absolute path should be enter where you see “spaces-path=”. If this entry is not already in the ‘[Settings]’ section, add it while defining the absolute path.
  5. Here is an example of an absolute path for a Windows machine, “spaces-path=C:/Users/*User*/Documents/*NewSpacesDirectory*/”
  6. Save your changes and close the file to successfully change the default Spaces directory.
  7. Start TeamDrive.