Command Prompt for Windows




Command SEED

Function:

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

Syntax:

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

Note:

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.