title: how to get yesterday's date in a batch file
body: <p>I know how to get today's date in Windows 7. here is the command that I am using: </p>
  
  <pre><code>%DATE:~6,4%%DATE:~3,2%%DATE:~0,2%
  </code></pre>
  
  <p>But I want to get yesterday, I do not know how.</p>