@echo off cls rem rem script to build demonstration thesaurus on windows rem echo --------------------------------------------------------------------- echo the Thesaurus MDweb database : thesaurus-fra 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-fra -U postgres > backup-thesaurus-fra.sql dropdb thesaurus-fra -U postgres createdb thesaurus-fra -E UNICODE -T template0 -U postgres psql -d thesaurus-fra -U postgres < dump-thesaurus-fra.sql pause