Re: more is not recognized as an internal or external command, operable program or batch file in psql in windows 7 - Mailing list pgsql-admin

From Harshad Adalkonda
Subject Re: more is not recognized as an internal or external command, operable program or batch file in psql in windows 7
Date
Msg-id CANnQH_j0bbC8SPtiCT8pf9R7QyvuVmOFF7UYtxLMhKy-x_cShg@mail.gmail.com
Whole thread Raw
In response to more is not recognized as an internal or external command, operable program or batch file in psql in windows 7  (rabi maibam <maibamr@gmail.com>)
List pgsql-admin

On Tue, Jul 21, 2015 at 4:57 PM, rabi maibam <maibamr@gmail.com> wrote:
Hi all,

 I am using postgresql 9.4.1. It was working property before one week. Now, whenever I try to use psql I got "more is not recognized as an internal or external command, operable program or batch file" error. My operating system is Windows 7.

Regards,
Maibam Rabi Singh

Hi,

Typically this error occurs due to PATH environment variable is not set properly in your system & it is unable to find the more command from C:\Windows\System32.

Solution:

(Right Click on)  My Computer -> Properties -> Advanced tab -> Environment Variable -> set the PATH in system variables.

Add these to the PATH variable : %SystemRoot%;%SystemRoot%\system32;%PROGRAMFILES%\PostgreSQL\9.4\bin

Hope this will solve your problem :)


--
Thanks & Regards,
Harshad Adalkonda
Database Administrator
www.shreeyansh.com

pgsql-admin by date:

Previous
From: aven pan
Date:
Subject: multiple process of PostgreSQL running on the same port and same directory
Next
From: Renato Oliveira
Date:
Subject: How Many PG_Locks are considered too many