$PSIDATADIR

From PsiWiki

PSIDATADIR

PSIDATADIR is an envrionment variable pointing to the location of the Psi data files (configuration, profiles, history etc.).

You can set this environment variable if want to store your Psi configuration and data files in an other directory than the default

Default Values

If you don't set the environment variable PSIDATADIR Psi uses the following default location to store its files:

Linux, MacOS X and other Unices
~/.psi/
Windows NT, 2000, XP, Server 2003, Vista and Server 2008
%UserProfile%\PsiData\ (usually C:\Documents and Settings\username\PsiData )
Windows 95, 98 and Me
%ProgramFiles%\Psi\PsiData\ (usually C:\Program Files\Psi\PsiData )


where:

%UserProfile%
Your home folder in Windows NT/2000/XP/Server 2003/Vista/Server 2008 (usually C:\Users\loginname on Windows Vista/Server 2008, C:\Documents and Settings\loginname on Windows 2000/XP/Server 2003, C:\WINNT\Profiles\loginname on Windows NT); note that this is not the same as My Documents folder
%ProgramFiles%
Your Program Files folder (usually C:\Program Files)
loginname
Your name in Windows (the short one, used on logon screen; not the one used on Welcome screen in Windows XP)

Changing PSIDATADIR

Prior Note: Changes will take effect only after you restart Psi.

Windows XP, Windows Server 2003 (similar on Windows 2000)

  • goto System Preferences (right-click on My Computer icon and select Preferences or simply press Win-Break keys)
  • Advanced tab
  • press Environment variables button
  • in "Variables for user ***" (where *** is Your login name) press "New..." button
  • in "Variable name" field enter PSIDATADIR and in "Variable value" enter the full path to the folder where you want Psi to store its data
  • close all windows