title: Forfiles command for windows XP
body: <p>Followed the question: <a href="https://stackoverflow.com/search?q=Batch+file+to+delete+files+older+than+N+days">https://stackoverflow.com/search?q=Batch+file+to+delete+files+older+than+N+days</a> -</p>
  
  <p>I changed it in order to work in another machine that has windows XP:</p>
  
  <pre><code>forfiles -p"%%~a" -s -m*.* -d%days% -c"cmd /c if /i @isdir==true echo Deleting... @path &amp; echo @path&gt;&gt;C:\Jobfolder\Folders_that_deleted.txt &amp; rd /s /q @path"
  </code></pre>
  
  <p>and it is not working. </p>