Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch.nt    |    Fun with Windows NT batch files    |    68,980 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 68,102 of 68,980    |
|    R.Wieser to All    |
|    Re: %random% is not random?    |
|    21 Oct 23 20:32:43    |
      From: address@is.invalid              Herbert,              > The first use of %random% always gives nearly the       > same value. Is this a Microsoft feature or a bug?              "CMD.EXE initializes the random number generator upon startup using a seed       that is derived from the current time with 1 second resolution"              https://stackoverflow.com/questions/19694021/random-generator-in-the-batch              Regards,       Rudy Wieser              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca