On Montag, 7. Juli 2008, Marius Storm-Olsen wrote:
> Now, reading this I wonder if really it should be something different.
> The ETC_GITCONFIG and DEFAULT_GIT_TEMPLATE_DIR are really pointing to
> configurations which affect all users, right? Shouldn't they then be
> located under the "All Users"/"Default User" directory? Normally under
> "C:\Documents and Settings\All Users\Application Data", but retrievable by
>      SHGetSpecialFolderPath(0, pszPath, CSIDL_COMMON_APPDATA, 0);
>
> Folder description:
>      "This folder should be used for application data that is not user
> specific. For example, an application may store a spell check
> dictionary, a database of clip-art or a log file in the
> CSIDL_COMMON_APPDATA folder. This information will not roam and is
> available to anyone using the computer. By default, this location is
> read-only for normal (non-admin, non-power) Users."

How is this directory any different from the installation location of a 
program (C:\Program Files\...), I wonder? I see no need to use this Win32 
specific API.

-- Hannes

Reply via email to