title: bat file that gets current date in MMDDYY format and saves it in a variable for later use in the file
body: <p>i am making a bat file that does a few tasks for me but i need to get the current date in MMDDYY format.</p>
  
  <p>I know this will return the 4 digit year but how can i make it show 12 instead of 2012?
  for /f "tokens=2-4 delims=/ " %%a in ('date /T') do set year=%%c</p>