Thread: more is not recognized error
OS: windows 7 64 enterprise
Postgres: 9.0.4-1 from EnterpriseDB
I installed postgres with all of the defaults. I made no change. I get the following error when trying to use psql:
'more' is not recognized as an internal or external command,
operable program or batch file.
I read on line that this issue can be cause from the file "more.com" not being found. It recommended making sure it can be found in the PATH. I checked and my path has this:
Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32
\WindowsPowerShell\v1.0\;C:\Program Files\Broadcom\Broadcom 802.11\Driver;C:\Win
dows\idmu\common;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x8
6)\SSH Communications Security\SSH Secure Shell
PATHEXT=.CMD;.BAT;.EXE
Any thoughts on why I get this error?
Thanks,
Lance
Postgres: 9.0.4-1 from EnterpriseDB
I installed postgres with all of the defaults. I made no change. I get the following error when trying to use psql:
'more' is not recognized as an internal or external command,
operable program or batch file.
I read on line that this issue can be cause from the file "more.com" not being found. It recommended making sure it can be found in the PATH. I checked and my path has this:
Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32
\WindowsPowerShell\v1.0\;C:\Program Files\Broadcom\Broadcom 802.11\Driver;C:\Win
dows\idmu\common;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x8
6)\SSH Communications Security\SSH Secure Shell
PATHEXT=.CMD;.BAT;.EXE
Any thoughts on why I get this error?
Thanks,
Lance
I found the answer. You need to not only add to the "PATH" environment variable you also need to add to the "PATHEXT" the value of ";.COM". This will allow the more command to be executed.
Thanks,
Lance
Thanks,
Lance
From: pgsql-admin-owner@postgresql.org [pgsql-admin-owner@postgresql.org] on behalf of Campbell, Lance [lance@illinois.edu]
Sent: Friday, September 16, 2011 8:30 PM
To: pgsql-admin@postgresql.org
Subject: [ADMIN] more is not recognized error
Sent: Friday, September 16, 2011 8:30 PM
To: pgsql-admin@postgresql.org
Subject: [ADMIN] more is not recognized error
OS: windows 7 64 enterprise
Postgres: 9.0.4-1 from EnterpriseDB
I installed postgres with all of the defaults. I made no change. I get the following error when trying to use psql:
'more' is not recognized as an internal or external command,
operable program or batch file.
I read on line that this issue can be cause from the file "more.com" not being found. It recommended making sure it can be found in the PATH. I checked and my path has this:
Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32
\WindowsPowerShell\v1.0\;C:\Program Files\Broadcom\Broadcom 802.11\Driver;C:\Win
dows\idmu\common;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x8
6)\SSH Communications Security\SSH Secure Shell
PATHEXT=.CMD;.BAT;.EXE
Any thoughts on why I get this error?
Thanks,
Lance
Postgres: 9.0.4-1 from EnterpriseDB
I installed postgres with all of the defaults. I made no change. I get the following error when trying to use psql:
'more' is not recognized as an internal or external command,
operable program or batch file.
I read on line that this issue can be cause from the file "more.com" not being found. It recommended making sure it can be found in the PATH. I checked and my path has this:
Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32
\WindowsPowerShell\v1.0\;C:\Program Files\Broadcom\Broadcom 802.11\Driver;C:\Win
dows\idmu\common;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x8
6)\SSH Communications Security\SSH Secure Shell
PATHEXT=.CMD;.BAT;.EXE
Any thoughts on why I get this error?
Thanks,
Lance