Thanks for your kind response.
I wrote "Username" only to show that a user name must be provided. It is actually the administrator of the domain.
If I issue the "echo %APPDATA%" command I get "c:\Users\Administrator\AppData\Roaming".
I tested issuing the following command:
SET PGPASSFILE="C:\Users\Administrator\AppData\Roaming\postgresql\pgpass.conf"
And then "echo %APPDATA%" again, and I still get "c:\Users\Administrator\AppData\Roaming"
Is there any relation between these 2 commands?
Another test I did was to SET APPDATA="C:\Users\Adminstrator\AppData\Roaming\postgresql\pgpass.conf"
After this, I did "echo %APPDATA%" and I get the correct path. Then I issue pg_dump but I still get the same error message.
Best regards,
Jorge Maldonado