Search found 2 matches
- 25 Oct 2010 01:20
- Forum: DOS Batch Forum
- Topic: Random number calculator help
- Replies: 2
- Views: 3726
Re: Random number calculator help
thanks, it works perfectly
- 24 Oct 2010 12:36
- Forum: DOS Batch Forum
- Topic: Random number calculator help
- Replies: 2
- Views: 3726
Random number calculator help
hi everyone, i've been working on a random number calculator this is what i have already: set random1= set /p random1=%random% set random2= set /p random2=%random% set /p sum=%random2%-%random1% set /a ans=%sum% echo = %ans% it goes wrong when i want it to auto calculate, at: set /p sum=%random2%-%r...