Capture shelled command output
Dear All,
I am using shell and wait method. I am executing a batch file .Now I need to capture the dos output in a text file.How do I?
I am using this (http://www.freevbcode.com/ShowCode.Asp?ID=2605) link for shell and wait
# 1 Re: Capture shelled command output
You can redirect output to a file in your Shell statement:
Shell "myfile.bat > output.txt"
# 2 Re: Capture shelled command output
Dear Phil Weber,
Thanks for your reply.But I am using Shell and Wait.How to do in the link, I have posted