On 22 Apr 2011, at 4:18pm, Maurice Marinus wrote: > 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
Rather than use '-init', which is intended for what you describe -- initial commands -- you should be able to pipe those commands into the shell tool. Try something like sqlite3 default.db3 < schema.sql Simon. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users