login about faq

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

asked Apr 13 '13 at 11:12

Brock's gravatar image

Brock
1567


Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×90

Asked: Apr 13 '13 at 11:12

Seen: 1,524 times

Last updated: Apr 15 '13 at 09:09

powered by OSQA