title: Batch code: between dates or greater/less than?
body: <p>I have a simple Batch script that does something on a certain date, but I want it to be able to perform this between dates, or always before or after a certain date.</p>
  
  <pre><code>@ECHO OFF
  
  IF "%DATE%"=="12/12/2011" GOTO ARMREST
  GOTO END
  
  :ARMREST
  ECHO HELLO WORLD!
  PAUSE
  
  :END
  </code></pre>
  
  <p>Now I tried using ">=" but it didn't work, I've been all over but can't seem to find what I'm looking for. I don't even know if that kind of complex boolean can be used? This is for Windows 7, very simple script, just wondering about the dates.</p>
  
  <p>Also, I have a Spanish machine, of which the date value differs from the UK - so the UK's is "12/02/2011" (DD/MM/YYYY), while the Spanish one is 12/2/2011 (dd/m/yyyy) I think, but I can find that out with a simple @ECHO %DATE% can't I?!</p>
  
  <p>Thanks!</p>