title: Random number formula returns same number batch
body: <p>i am trying to make a random number between 1 and a variable, this variable will change each time the program runs. i am using this so far:
  SET /A result=%random%*%var%/32768+1</p>
  
  <p>but everytime i re-run the batch file it returns the same number, do people know what is going on?</p>
  
  <p>Thanks in Advance</p>