« Return to Thread: GnuPG (win32) on a USB stick

Re: GnuPG (win32) on a USB stick

by John Clizbe-3 :: Rate this Message:

Reply to Author | View in Thread

Andrew Berg wrote:
> John Clizbe wrote:
>> set GNUPGHOME=x:\location\you\want
>>  
>
> It would be inconvenient (and inconsiderate to the host machine's
> owner(s)) to set an environment variable on every machine encountered,
> wouldn't it? Sven's idea is much better, I think.

And it shows a clear lack of understanding to think that a SET command at a
Windows command prompt sets an environment variable permanently or globally. The
variable exists in the process environment that invoked the command and those
processes invoked from it.

"Changes made using the SET command are NOT permanent, they apply to the current
CMD prompt only and remain only until the CMD window is closed."
      - http://www.ss64.com/nt/set.html

Setting GNUPGHOME is the equivalent of specifying
"--homedir U:\path\to\your\keyrings", but without the need to type (and possibly
 mistype) it every time GnuPG is invoked.

--
John P. Clizbe                   Inet:   JPClizbe (a) tx DAWT rr DAHT con
Ginger Bear Networks             PGP/GPG KeyID: 0x608D2A10
"Be who you are and say what you feel because those who mind don't matter
and those who matter don't mind." - Dr Seuss, "Oh the Places You'll Go"



_______________________________________________
Gnupg-users mailing list
Gnupg-users@...
http://lists.gnupg.org/mailman/listinfo/gnupg-users

signature.asc (672 bytes) Download Attachment

 « Return to Thread: GnuPG (win32) on a USB stick