Question about the windows port

John Clizbe JPClizbe at
Thu Dec 4 22:23:36 CET 2003

Hash: SHA1

Jim C. wrote:

> I am in a cross platform multi-user environment and I would like to know
> if there are alterations that I can make to the install that will make
> it user directory aware on 'Doze.  This is to say that I would like
> individual user keys stored in the correct location for Windows users
> who use the multi-user versions, (i.e. NT, 2K & XP).  Normally this
> would be in the "%APPDATA%\GnuPG" directory where "%APPDATA%" is an
> environment variable that is usually something like:
> C:\Documents and Settings\[username]\Application Data
> I can use a batch file that has something in it like this:
> gpg --homedir="%APPDATA%\GnuPG"
> which actually works.  Problem is that I can't get it to work right with
> Mozilla Enigmail because it appends an ".exe" along with some other
> issues. What about the gpg.conf file?  Is there something in there that
> I can set?

try this REGEDIT file:


"gpgProgram"="C:\\PRogram Files\\GnuPG\\gpg.exe"

[HKEY_CURRENT_USER\Control Panel\Mingw32]

[HKEY_CURRENT_USER\Control Panel\Mingw32\NLS]
"MODir"="C:\\Program Files\\GnuPG\\Locale"


gpg will look for gpg.conf and the keyrings in the directory specified by

- --
John P. Clizbe                   Inet:   JPClizbe(a)comcast DOT nyet
Golden Bear Networks             PGP/GPG KeyID: 0x608D2A10
  "Hyperboloids of wondrous Light / Rolling for aye through Space and Time
Harbour those waves which somehow Might / Play out God's holy pantomime."
         - Alan Turing, shortly before his death in 1954
Version: GnuPG v1.3.4 (MingW32)
Comment: Annoy John Asscraft -- Use Strong Encyption


More information about the Gnupg-users mailing list