I use the following code to send text strings to the DOS window. For example I use the following simple code to go to E: ,
Private Sub Command1_Click()
RetVal = Shell("c:\Windows\system32\cmd.exe", vbNormalFocus)
SendKeys " E:"
Using Windows XP. It works fine to send keys to DOS. But is it possible to get back some text from DOS window? For example if I send "del test.txt" and let DOS says "File not found". How can I import this string "File not found" back in to VB6 in a Textbox etc. If yes then plz keep the answer or code so simple as mine above is because I am very very new in programming. Thanks and regards.