title: Windows Command Line - Changing a file modified timestamp to an earlier datetime
body: <p>in windows command line i can use the following to change the timestamp of a file to the current datetime:</p>
  
  <pre><code>copy /b filename.ext +,,
  </code></pre>
  
  <p>what i need is a way to set the timestamp to a previous datetime (-1 day, -1 week etc)</p>
  
  <p>is this possible?</p>
  
  <p>What i typically do in linux is this:</p>
  
  <pre><code>touch -d "$(date -R -r filename) - 2 hours" filename
  </code></pre>
  
  <p>But i need this for windows command line, not powershell or any other alternative.</p>