On a windows platform I have the following:
schema.sql (contains the sql scripts)
sqlite3.exe (command shell for sqlite -> downloaded from sqlite.org)
build.bat : A batch file containing the line : sqlite3.exe -init 
schema.sql default.db3

When I run build.bat, the database is created as expected, however, the 
sqlite shell doesn't automatically terminate. So how would I get the 
batch file to run and terminate the sqlite command shell automatically?

Output shown on the dos command prompt after executing build.bat

C:\Work\X\Database>sqlite3.exe -init schema.sql default.db3
-- Loading resources from schema.sql
SQLite version 3.7.4
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite>


_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to