Posted: 2011-09-14 22:52
I want to be able to see what my error is in a script. If I get an FTP connection I know the code is 0, if not it's 1.
Here is my simple bat file:
copy d:\ears_extracts\icr\out\*.csv d:\ears_extracts\icr\holding_area\*.csv
WinSCP.exe /console /script=abie.txt
What would be an effective way to trap the error code so I can see what it is and put out a sucsess or failure message to a logfile?
Location: Prague, Czechia
Please read documentation:
You can post new topics in this forum
And it's free!