Fixed a glitch where it had a 1 in 400 chance to be missing a digit.
Simply generates a fake batch key.
Code:
@echo off
title Gamecard Generator
mode CON cols=31 lines=4
color 47
:restartprog
SET /A i=1
:reworkrandom
SET /A fixedrand=%random%*10
CALL SET r%i%=%%fixedrand:~1,1%%
SET /A i=i+1
if %i% LEQ 25 goto reworkrandom
echo %r1%%r2%%r3%%r4%-%r5%%r6%%r7%%r8%%r9%%r10%-%r11%%r12%%r13%%r14%%r15%-%r16%%r17%%r18%%r19%%r20%%r21%-%r22%%r23%%r24%%r25%
echo _____________________________
echo Type YES to regenerate,
SET /P cont= Type NO to exit:
if "%cont%"=="YES" goto restartprog
if "%cont%"=="yes" goto restartprog
Put that into notepad, and save as GamercardGen.bat, or whatever you want (.bat).
Only 527bytes. Not bad :P
Enjoy.