I have a number of batch files, which all work when ran separably to back up various Postgres dbs across the network. However when ran through task scheduler the backup files aren't created. There are no job warnings or errors, nothing to indicate anything is wrong except that the files don't exist. There is nothing in the event logs either.
So how can I work out what is wrong and fix it, what should I look at first?