| From: | "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp> |
|---|---|
| To: | "longlong" <asfnuts(at)gmail(dot)com>, <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: about Command Prompt. |
| Date: | 2007-10-09 13:09:58 |
| Message-ID: | 004d01c80a75$b1c2bc80$c601a8c0@HP22720319231 |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Hi.
runas is not required.
for example)
C:\Program Files\PostgreSQL\8.3-beta1\bin>psql -f filename.sql postgres postgres
Password for user postgres:****
pleae see.
psql --help
Regards,
Hiroshi Saito
----- Original Message -----
From: longlong
To: pgsql-general(at)postgresql(dot)org
Sent: Tuesday, October 09, 2007 9:25 PM
Subject: [GENERAL]about Command Prompt.
what i want is using the psql to excute a serial SQL command like create table in a file.
but i have tried " runas /noprofile /env /user:postgres "f:\postgre\bin\psql -f filename"
"in Windows cmd ,it doesn't work.
Is there any way to do this or
How can I make my order work just like in Command Prompt?
| From | Date | Subject | |
|---|---|---|---|
| Next Message | korry.douglas | 2007-10-09 13:45:27 | Re: "timer" script from SAMS book or equivalent? |
| Previous Message | John Wells | 2007-10-09 12:36:01 | Re: "timer" script from SAMS book or equivalent? |