If you put a
code:
? ''+@ERROR+' - '+@SERROR

after your copy command, you will get the error message generated for that copy command. If the copy is successful, error will be '0'.

You might also want to make sure to run the login script synchronously, see W2k/XP - Keep the Window visible on login?
_________________________
There are two types of vessels, submarines and targets.