Re: How to get to command line prompt

From: "Rajesh Kumar Mallah" <mallah(dot)rajesh(at)gmail(dot)com>
To: "Philippe Salama" <karebacnyc(at)yahoo(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: How to get to command line prompt
Date: 2006-12-08 18:14:54
Message-ID: a97c77030612081014t4c5ef126gd28796afc4165f87@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(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
> 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.
>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Philippe Salama 2006-12-09 01:00:35 .bat file to access postgreSQL command line from C:\ Dos prompt
Previous Message Philippe Salama 2006-12-08 18:00:41 How to get to command line prompt