hi ,

i have created a small interface to interact and call command line calls....thats all fine, which it does, executes then closes the cmd screen...however, i want to dedirect the return message from DOS to my program..

an example is if i executed a command thru my VB program which executed in DOS, it would then, after completion, display in the DOS wondow
'command successful' then close....

i want to somehow get that message into my Vb program as the execution is so fast that there is no other way of telling whether the command was successful

thanks a lot if anyone has any ideas