Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

I'm trying to create a batch file that reports an error when pscp get
a bad return code.  the following produces an error because the
password is wrong, but you never see the echo command run:

c:\pscp\pscp  -pw xxx C:\scptest\*.* user@
if errorlevel 1 then echo there was an error

If you put this in a batch file and execute it, it just hangs at
Access Denied until you ctrl-Break it.

Site Timeline