Stargazer January 18, 2011 at 20:13:26 Specs: Windows Vista, 1.5 GHz / 2037 MB
I am creating a batch file with the MS-DOS in Windows Vista and I need the file to generate a random number between 1 and 10 and put it in a variable. I've tried putting limits on the %RANDOM% command, but I've had no success in figuring it out. Any help would be appreciated.
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Purch hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.