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