Project

General

Profile

Actions

Locate global config directory on Windows » History » Revision 6

« Previous | Revision 6/7 (diff) | Next »
Anchi Cheng, 05/27/2014 10:09 PM


Locate global configuration directory following standard on Windows

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:

  1. go to C:\\python25\Lib\Site-Packages\leginon or C:\\python27\Lib\site-packages\leginon depending on the python version used
  2. run configcheck.py

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 most likely start with C:\\Programs and ends with \myami. This is the global configuration directory we will use.

Updated by Anchi Cheng over 10 years ago · 6 revisions