> Where should I put pgpass.conf for user "system"?> AFAIK it hasn't got an %appdata% directory and the one for all users> didn't work.
Maybe you can set the environment variable PGPASSWORD temporarily when executing the script?
BestAlex