title: How do I make a batch file do a different thing than normal on a certain date?
body: <p>Okay, so I'm trying to make a batch file that when run on April 1st, it will do something else. I want it to make sure that it is any year, but the month has to be 4, and the day has to be 1, then it will do something else, but if this is false, then it will not do that.
  Here's the code I tried:</p>
  <pre><code>if ((%month% = 4) + (%day% = 1))
  then
  ECHO Test Successful 2
  else
  ECHO Test Successful 1
  </code></pre>
  <p>I'm new to batch, by the way. I just freestyled this to see if it worked. It gave me a Syntax error.</p>
  <blockquote>
  <p>Syntax Error
  Can anyone help me?</p>
  </blockquote>