Hi,
probably need a bit more info on this one (any other error log info?) - also what is OSQL trying to do - are you using dynamic script execution, or is it a pre/post-script? In either case you could run the script yourself on the subscriber using the login of the sql agent and try to debug it that way. Will have a look tomorrow if you post more info.
Cheers,
Paul (http://www.replicationanswers.com)
Paul Ibison
Paul.Ibison@replicationanswers.com