@echo off cls rem rem script to build insert GEMET thesaurus inside MDweb database thesaurus on windows rem echo ------------------------------------------------------- echo this script is made to add a the GEMET thesaurus inside echo your current thesaurus database set /p bdmdweb=Give the name of the current thesaurus database for MDweb ? : if("%bdmdweb%")==("") goto bd_vide echo ------------------------------------------------------------------- echo the Thesaurus GEMET will be inserted in the database %bdmdweb% echo ------------------------------------------------------------------- pause psql -d %bdmdweb% -U postgres < dump-gemet-eng.sql goto end :bd_vide echo ---------------------------------------------------- echo you don't input the name of MDweb database echo ---------------------------------------------------- pause goto eof :eof echo --------------------------------------------------------------------- echo the insertion of GEMET thesaurus inside your database was aborted echo --------------------------------------------------------------------- pause exit :end echo ----------------------------------------------------------- echo the insertion of GEMET thesaurus inside echo the database named : %bdmdweb% is successful echo ----------------------------------------------------------- pause