Project

General

Profile

Locate global config directory on Windows » History » Version 1

Anchi Cheng, 06/06/2012 08:22 PM

1 1 Anchi Cheng
h2. Locate global config directory following standard on Windows
2
3
Saving cfg files in a global location reduces future need for copying old configuration to updated installation.  The location is different for different versions of Windows. To locate the one for your Windows version:
4
5
# go to C:\\python25\Lib\Site-Packages\leginon
6
# run configcheck.py
7
8
The script gives the three search directories of the cfg files and the loaded file if present.  Note the first search directory that with a name start with *C:\\Programs*.  This is the *global configuration directory* we will use.