@echo off rem schemaSpy generates documentation and graphs from a specified schema in rem your database. rem Run this batch file with the schema name as a parameter. rem Change this to go to the right JDBC driver in your NetBeans installation set driver="%ProgramFiles%\NetBeans 6.8\ide12\modules\ext\postgresql-8.3-603.jdbc3.jar" rem This runs schemaSpy on the specified schema. java ^ -jar schemaSpy*.jar ^ -t pgsql ^ -host myhost ^ -db mydb ^ -s %1 ^ -u myuname ^ -o %1 ^ -dp %driver% ^ -connprops ssl\=true;sslfactory\=org.postgresql.ssl.NonValidatingFactory ^ -pfp -hq rem This will open your default browser. start %1\relationships.html