Make sure pqsl is in the right, then run set PATH=%PATH%;C:\Program Files\PostgreSQL\9.2\bin\ Change the above directory e.g. "C:\Program Files\PostgreSQL\9.2" to your installed postgresql's 'bin' directory.