Friday 16 May 2008

How to add GNU Privacy Guard commands to environment variables Windows

Right-Click on MY COMPUTER, select PROPERTIES, then select the ADVANCED tab.

Click on ENVIRONMENT VARIABLES then select PATH in the top box.
Highlight PATH in the bottom box.

Click EDIT and at the end of the line, type ";C:\Program Files\GnuPG\;" without the quotes but including the semi-colons. Where I have used "C:\Program Files", you should put the path where you installed GnuPG.

This will allow you to open the command prompt (START > RUN > CMD) and simply type "gpg" followed by the command switch to use the advanced features of GnuPG.

NB: you may want to put in C:\Program Files (x86) if you have a 64 bit machine.

No comments: