Search found 2 matches

by dedlygaimer
01 May 2012 18:04
Forum: DOS Batch Forum
Topic: Help?
Replies: 11
Views: 9916

Re: Help?

Did you even change anything? :P
by dedlygaimer
01 May 2012 17:40
Forum: DOS Batch Forum
Topic: Help?
Replies: 11
Views: 9916

Help?

I'm in a bit of a predicament. I'm trying to get a code that will determine if a random integer is even or odd, and depending on what the answer is perform from two different actions each time the script is referred to. Here's my code: set /a compnumber=%random% set /a modulo = “%compnumber% %% 2? i...