title: Write todays date into registry from .reg file
body: <p>I need to write the current date using a .reg file into the registry in Windows 7.</p>
  
  <p>I have a .bat file that works properly with</p>
  
  <pre><code>WshShell.RegWrite "HKEY_CURRENT_USER\Software\VB and VBA Program Settings\abc.accdr\Param\FRD", Date(), "REG_SZ"
  </code></pre>
  
  <p>and want to use a .reg file with</p>
  
  <pre><code>[HKEY_CURRENT_USER\Software\VB and VBA Program Settings\abc.accdr\Param\]
  "FRD"=date()
  </code></pre>
  
  <p>where <code>date()</code> is the current date and is entered in the registry as <code>5/24/13</code></p>
  
  <p>I need to know what to use for the <code>date()</code> variable as <code>date()</code> does not work, nor <code>date</code></p>