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.
On 12/8/06, Philippe Salama <karebacnyc(at)yahoo(dot)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
> IF there is no command line available with the windows install, then, is
> there a 3rd party product?
> Have a burning question? Go to Yahoo! Answers and get answers from real
> people who know.
In response to
pgsql-admin by date
|Next:||From: Philippe Salama||Date: 2006-12-09 01:00:35|
|Subject: .bat file to access postgreSQL command line from C:\ Dos prompt|
|Previous:||From: Philippe Salama||Date: 2006-12-08 18:00:41|
|Subject: How to get to command line prompt|