title: restore the previous echo status
body: <p>In a DOS Batch File subroutine, how can I turn off echo within the subroutine, but before returning, put it back to what it was before (either on or off)?</p>
  
  <p>For example, if there was a command called <code>echo restore</code>, I would use it like this:</p>
  
  <pre><code>echo on
  ... do stuff with echoing ...
  call :mySub
  ... continue to do stuff with echoing ...
  exit /b
  
  :mySub
  @echo off
  ... do stuff with no echoing ...
  echo restore
  goto :EOF
  </code></pre>