@echo off cls rem rem script to build demonstration thesaurus on windows rem echo --------------------------------------------------------------------- echo the Thesaurus MDweb database : thesaurus-eng will be created echo by default Agrovoc thesaurus is given with a example echo of specific thesaurus application echo it takes few minutes.... echo ---------------------------------------------------------------------- pause pg_dump -d thesaurus-eng -U postgres > backup-thesaurus-eng.sql dropdb thesaurus-eng -U postgres createdb thesaurus-eng -E UNICODE -T template0 -U postgres psql -d thesaurus-eng -U postgres < dump-thesaurus-eng.sql pause