@echo off SET PGPASSWORD=test pg_dump -U test -n foo > foo.dump