I have a question, can you better explain this
' Execute a sequence of commands. The syntax for CMD.EXE may be found
' here: http://technet.microsoft.com/en-us/library/bb490880.aspx. Notice how the commands
' are separated by "&&" and the entire command must be enclosed in quotes:
Dim cmd4 As String
cmd4 = """cd \temp&&dir"""
I see this can send more than one command at once. what im looking to do is send a command read the output of the text and find certain strings and if the certain string meets what im looking for will determine what other command i need to send. can the above work for what im looking to do? or does that send one command and then the next?
thank you Brock
Here are examples:
And more of the same example in different programming languages: