if you run a command prompt to execute say psexec, how can you determine if the error code was 0 or not?
error1="cmd.exe /c ....."
if error1 <>0 then
msgbox("there was an error")
it doesn't work though so again how do i determine if a cmd shell executed successfully?