title: Nesting String Manipulations in DOS
body: <p>I know you can use string manipulation in DOS like this:</p>
  
  <pre><code>echo %TIME%
  echo %TIME:~0,2%
  echo %TIME: =0%
  </code></pre>
  
  <p>The output of these three commands would be:</p>
  
  <pre><code> 8:36:05.60
   8
  08:36:12.93
  </code></pre>
  
  <p>I want to know how to combine the second and third lines to get this output:</p>
  
  <pre><code>08
  </code></pre>
  
  <p>I can't use set to temporarily store a value because I want to use this string in a command line argument.</p>