I would like to know how (in VBScript) to generate a random number that will not be the same on another computer, and then use that number and possibly some If-Statement so that one of the 10 possible options can be activated, for example.
If (A random number between 1 - 10, eg. 2) then (Continue on part of script then wscript.quit) Else if (A different number, eg. 7) then (continue on to different part of script then wscript.quit)
and etc.
So, I would have 10 different options for a script for random selection.
Is it possible? If so, can someone compile an example of this so that I can put my own script inside and use it? Thanks for answers!
source share