this script allow you to Create database and tables from batch file
for this save this content in a text editor
and save it as .bat file
@echo off
:: This batch allow you to
create a database
Title Projet xxxx.
Echo Database creation
Echo starting script ...
Please wait...
set /p dbname= "enter the
name of the new db:"
createdb -h localhost -p 5432
-U postgres -E UTF-8 -e %dbname%
Echo Database created
...
echo end of the process
No comments:
Post a Comment
Thanks for your comments