Command Prompt for Windows

Command SEED


Randomise the random number generator or set the seed to the specified value.


SEED [value]
valueA number specifying the seed for the random number generator.


When parameter value is not specified then the random number generator is randomised.

The Dynamic Environment Variable RANDOM_NUMBER is used to retrieve the next random number.

Also see Batch Files.