473,386 Members | 1,753 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Error:: 'more' is not recognized as an internal or external command

40
Hai,
can anyone tel me what dose this error mean.
'more' is not recognized as an internal or external command,
operable program or batch file.
Jul 31 '07 #1
8 22151
michaelb
534 Expert 512MB
Where and how are you trying to execute the "more" command?
You don't give enough details to answer the question you posted.
Aug 1 '07 #2
crs27
40
Hai,
find the below...

C:\Program Files\PostgreSQL\8.2\bin>psql testDB xyz
Password for user xyz:
Welcome to psql 8.2.4, the PostgreSQL interactive terminal.

Type: \copyright for distribution terms
\h for help with SQL commands
\? for help with psql commands
\g or terminate with semicolon to execute query
\q to quit

Warning: Console code page (437) differs from Windows code page (1252)
8-bit characters may not work correctly. See psql reference
page "Notes for Windows users" for details.

testDB=> select * from test;
'more' is not recognized as an internal or external command,
operable program or batch file.
testDB=>

I unable to resolve this,Im very new to PostgreSQL.
Kindly revert back.

Thank you
Aug 2 '07 #3
crs27
40
Hai,

one more thing is,i have instaled PostgreSQl directly on Windows.From postgresql.com ,from FTP mirrors.
But i have doubt is the installation some where wrong,as i have come across the forums that PostgreSQL has to be installed through Cygwin.Im confused.
Right now im able to create DB,tables and import data through PGAdmin.
am I wrong anywere,im confused.
Aug 2 '07 #4
michaelb
534 Expert 512MB
Let's try to gather some information:

Open the DOS window and at the prompt type this command:
more abc
Hit the Enter key. What happens?

What version of Windows you are currently using?
Was it a fresh install, or did you upgrade from some previous version?
Aug 2 '07 #5
crs27
40
Let's try to gather some information:

Open the DOS window and at the prompt type this command:
more abc
Hit the Enter key. What happens?

What version of Windows you are currently using?
Was it a fresh install, or did you upgrade from some previous version?
Yup,this is wht i get..
Im using Windows XP

C:\Program Files\PostgreSQL\8.2\bin>more
'more' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files\PostgreSQL\8.2\bin>psql testDB sindhu
Password for user sindhu:
Welcome to psql 8.2.4, the PostgreSQL interactive terminal.

Type: \copyright for distribution terms
\h for help with SQL commands
\? for help with psql commands
\g or terminate with semicolon to execute query
\q to quit

Warning: Console code page (437) differs from Windows code page (1252)
8-bit characters may not work correctly. See psql reference
page "Notes for Windows users" for details.

testDB=> \h;
'more' is not recognized as an internal or external command,
operable program or batch file.
Aug 6 '07 #6
michaelb
534 Expert 512MB
Typically you should have the more command (file more.com) in your Windows\system32 directory.
If you don't have it - install it. If it's there make sure that path C:\WINDOWS\system32 (or whatever the path is in your computer) is in the PATH variable.
You can take a quick look at your path settings using the set command at the DOS prompt.

Expand|Select|Wrap|Line Numbers
  1. C:\>set path
  2. Path=C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\SecureCRT3.0;C:\Program Files\PostgreSQL\8.2\bin
  3.  
Aug 6 '07 #7
crs27
40
Typically you should have the more command (file more.com) in your Windows\system32 directory.
If you don't have it - install it. If it's there make sure that path C:\WINDOWS\system32 (or whatever the path is in your computer) is in the PATH variable.
You can take a quick look at your path settings using the set command at the DOS prompt.

Expand|Select|Wrap|Line Numbers
  1. C:\>set path
  2. Path=C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\SecureCRT3.0;C:\Program Files\PostgreSQL\8.2\bin
  3.  

Thanks a lotttt michaelb..
Its working fine..

Kindly look into my other error too..
org.postgresql.util.PSQLException: ERROR: relation "gistl_new_request" does not exist
Even though i have the table by name "gistl_new_request",im getting this error.
Plz michaelb look into it..

Thank you once again..
Aug 7 '07 #8
michaelb
534 Expert 512MB
You're welcome.

The other problem you mentioned is being discussed here
Aug 7 '07 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: errorQuest | last post by:
Hi There, I have a problem with the IIS running. Whenever I try to ru http://localhost/aaa.asp i got this error "HTTP 500-Internal Serve Error". I use very simple code in aaa.asp. I try to look...
4
by: Cris Ding | last post by:
Hi, everyone, Now I need to execute an external command in my C program. For example, the dos command is "lp_solve -p < LP1.txt". I want to execute this command in my C program so as to obtain...
1
by: D A H | last post by:
I have gotten the same exception in multiple projects. I have solved the underlying problem. My question is if anyone knew of a setting that would cause this exception to be thrown. A...
2
by: jason | last post by:
I'm trying to run an external command-line file using user create C:\DLL\*.dll files as following code Process.Start("c:\test.exe" The test.exe has no problem when I run on the dos prompt as I...
4
by: Ê÷Éϲä»Ò | last post by:
'rar' is not recognized as an internal or external command, operable program or batch file. import os import time source = target_dir = r'e:\temp\bak' target =...
1
by: snitu | last post by:
Hi Plz. Help me Can we link more than one external css file in single html. If yes then how . Thanks.
2
savanm
by: savanm | last post by:
i downloaded modules from cpan.... when i type perl -V:make i get make= 'nmake' bt if i type nmake There is a error occured like this: 'nmask' is not recognized as an internal or external...
1
by: =?Utf-8?B?SlA=?= | last post by:
Im posting this in both the .NET general group and SQL group since several other post mention that this may be a problem with ASP.NET and not SQL Out of the blue, any SQL 2005 SPs we have that...
1
by: Anonymous | last post by:
My code has suddenly stopped compiling after some refactoring I carried out last week. I am using VC8 on W2K professional I get the following cryptic error: Error 77 fatal error C1001: An...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.