> Yes, I can run it. I entered to the step definition window
c:\mydir\mysubdir\mybackup.bat and ran pgagent. 1_1.bat file now remains and contains line c:\mydir\mysubdir\mybackup.bat I executed from cmd line runas /user:mydomain\postgres cmd cd "C:\Document and settings\ postgres\Local Settings\temp\pda48EB.tmp" 1_1.bat and pg_dump.exe creates backup file So running 1_1.bat manually as user postgres works OK. Andrus. ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match