title: how to Generate a random number in CMD that is not based on system clock
body: <p>I want to create a random number in a batch file, that is not based on the system clock time.</p>
  
  <p>I have been trying to use <code>%RANDOM%</code> but its not working well for my needs.</p>
  
  <p>The reason is that I want to write file names that I'm recieving in muliple threads to files, and when I use the system time <code>%RANDOM%</code> method I get clashes between the files, since the system time is based on seconds and not milliseconds.</p>
  
  <p>So I need a way to generate random number based on something else other than system time...</p>