title: How || and && work with a compound command surrounded by parenthesis?
body: <p>Assume I have a compound command (multiple simple CMD commands joined by operators <code>&amp;</code>,<code>&amp;&amp;</code> and/or <code>||</code>). I surround it by parentheses and afterwards put another conditional execution operator (<code>&amp;&amp;</code> or <code>||</code>) followed by e.g. the command <code>DIR</code>.</p>
  
  <p>The success of failure of what simple command(s) within my compound command will matter when the interpreter decides whether my <code>DIR</code> command is to be executed or not? </p>
  
  <p>I have done some experimenting and it seems that only the success or failure of the  very last simple command from my compound command is decisive for the execution of <code>DIR</code>. </p>
  
  <p>But then I came across this <a href="https://ss64.com/nt/syntax-conditional.html" rel="nofollow noreferrer">page</a>, which says "Use parenthesis to test the success of several commands". This implies that the interpreter somehow aggregates error levels returned by the simple commands within the compound one do decide whether (in my example) <code>DIR</code> is to be executed or not. </p>
  
  <p>So I am confused...   </p>