title: Multiplying Two Whole Numbers In Batch
body: <p>I am trying to make a Shutdown dialogue in Batch and I have run into a slight problem. I don't like how Windows 8 asks you for the time in seconds when you would like to remote shutdown your own computer with a timer and I am trying to make a batch file that converts a given number (minutes) into seconds.</p>
  
  <p>I have searched the vast majority of the interwebs and cannot find a way to multiply two whole numbers in a batch file.</p>
  
  <p>Here is what I have so far:</p>
  
  <pre><code>@echo off  
  echo Enter a number:  
  set /p %num1%=  
  echo Enter another:  
  set /p %num2%=  
  set /a sum1=%num1%*%num2%  
  echo The total is %sum1%  
  pause  
  </code></pre>
  
  <p>Could some kind soul please tell me where I have gone wrong?</p>
  
  <p>Thanks
  Charlie B</p>