set CURRENT_DIR=%~dp0 cd %CURRENT_DIR% set "PGPASSWORD=12345678" pg_restore -U postgres -h localhost -p 5432 -d rrjdatabase .\restoreDB\DBLMS_EMPTY.backup