i am using a shell command in vb.net as follows:
Shell("xcopy u:\*.* \\peter\pos /y")
Catch ex As Exception
if error occured while copying (such as unable to access the folder), the error is not being catch.
how can i know that it is successful or not?