@echo off mkdir "%userprofile%\springside\db\" if not exist "%userprofile%\springside\db\bookstore.script" copy "..\..\src\java\default-data.script" "%userprofile%\springside\db\bookstore.script" if not exist "%userprofile%\springside\db\bookstore.properties" copy "..\..\src\java\default-db.properties" "%userprofile%\springside\db\bookstore.properties" "java" -classpath ../../lib/hsqldb-1.8.0.2.jar org.hsqldb.Server -database.0 "%userprofile%\springside\db\bookstore" -dbname.0 bookstore @echo on