Re: How to get to command line prompt - Mailing list pgsql-admin

From Rajesh Kumar Mallah
Subject Re: How to get to command line prompt
Date
Msg-id a97c77030612081014t4c5ef126gd28796afc4165f87@mail.gmail.com
Whole thread Raw
In response to How to get to command line prompt  (Philippe Salama <karebacnyc@yahoo.com>)
List pgsql-admin
Hi,

Go to Start->run ->  type cmd  <press enter>

say you get the c: prompt then type

C:\blah\blah> psql -U postgres template1

above assumes psql is in PATH. if it succeeds
you shall get a psql prompt.

once you get the prompt , follow the instructions in text book
to create new database , users etc.


regds
mallah.

On 12/8/06, Philippe Salama <karebacnyc@yahoo.com> wrote:
> I just installed Postgresql for windows.
>
> There is an elephant headed icon, which seems to be the way to get to the
> command line prompt. I have a textbook which assumes that you can
> communicate with postgres through command line, and run scripts.
>
> When I click the icon, it asks for password, and then does nothing but
> disappear.
>
> IF there is no command line available with the windows install, then, is
> there a 3rd party product?
>
> Thanks
>
>
>  ________________________________
> Have a burning question? Go to Yahoo! Answers and get answers from real
> people who know.
>
>

pgsql-admin by date:

Previous
From: Philippe Salama
Date:
Subject: How to get to command line prompt
Next
From: Philippe Salama
Date:
Subject: .bat file to access postgreSQL command line from C:\ Dos prompt