By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,829 Members | 1,829 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,829 IT Pros & Developers. It's quick & easy.

Execute A Psql Commands Through Batch File (*.bat)

P: 1
Hi ,
How To Execute A Psql Commands Through Batch File(.bat). My Aim Is , Usting Batch File , Connect The Database And Then Execute The Psql Statements.
Mar 17 '08 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 700
Hi ,

How To Execute A Psql Commands Through Batch File(.bat).

My Aim Is , Usting Batch File , Connect The Database And Then Execute The Psql Statements.
is bat. file under windows? (sorry for my lack of knowledge)
Can't you use psql command with -c option?
Mar 17 '08 #2

Post your reply

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