@echo off
setlocal enableextensions enabledelayedexpansion
set "size=0"
for %%a in (a b c d e f g h i j k l m n o p q r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9) do (
set "a_!size!=%%a"
set /a "size+=1"
)
for /l %%k in (1 1 1000) do (
set "key="
for /l %%a in (1 1 30) do (
set /a "r=!random! %% size"
for %%b in (!r!) do set "key=!key!!a_%%b!"
)
echo(!key!
)
endlocal
Anyway, 100000 keys will take between 5 and 10 minutes. And of course, it is not sure there will be no duplicates in the list.
EDITED - Sorry, i missed the dashes
echo(!key:~0,5!-!key:~5,5!-!key:~10,5!-!key:~15,5!-!key:~20,5!-!key:~25,5!