Sorted it out
I had to change the bat file. I needed to
echo on
C:
cd C:\Program Files (x86)\WinSCP
winscp /console /script=d:\PeopleSoft\PsftERP\appserv\PSDEV1\files\ftp_command.txt /log=d:\PeopleSoft\PsftERP\appserv\PSDEV1\files\error_check_rel.txt
and this now works. The bat file runs the command file and downloads the file.
echo on
C:
cd C:\Program Files (x86)\WinSCP
winscp /console /script=d:\PeopleSoft\PsftERP\appserv\PSDEV1\files\ftp_command.txt /log=d:\PeopleSoft\PsftERP\appserv\PSDEV1\files\error_check_rel.txt
and this now works. The bat file runs the command file and downloads the file.