Imthedude025

Steam Key Generator (Batch)

Sep 17th, 2019
1,521
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  2. ::Steam Key Generator Via Batch ::
  3. ::Created by RU$$ [http://russdev.mooo.com/] ::
  4. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  5. @ECHO OFF
  6. @setlocal enabledelayedexpansion
  7.  
  8. Rem | Configure
  9. Set "Keys=10000"
  10. Set "OutputFile=Keys.txt"
  11.  
  12. Rem | Check For Old %OutputFile%
  13. If exist "!OutputFile!" (
  14.  
  15. Del "!OutputFile!"
  16.  
  17. )
  18.  
  19. Rem | Loop For Random Keys
  20. Echo Generating Keys... Please Wait!
  21. for /L %%a in (1,1,!Keys!) do (
  22.  
  23. Call :Random
  24. echo !num1!!num2!!num3!!num4!!num5!-!num6!!num7!!num8!!num9!!num10!-!num11!!num12!!num13!!num14!!num15! >> !OutputFile!
  25.  
  26. )
  27. Cls
  28. Echo Finished Generating Keys!
  29. Echo(
  30. pause
  31.  
  32. Rem | Generate Random Varibles Function
  33. :Random
  34. Set /a "num1=%random% %% 10"
  35. Set /a "num2=%random% %% 10"
  36. Set /a "num3=%random% %% 10"
  37. Set /a "num4=%random% %% 10"
  38. Set /a "num5=%random% %% 10"
  39. Set /a "num6=%random% %% 10"
  40. Set /a "num7=%random% %% 10"
  41. Set /a "num8=%random% %% 10"
  42. Set /a "num9=%random% %% 10"
  43. Set /a "num10=%random% %% 10"
  44. Set /a "num11=%random% %% 10"
  45. Set /a "num12=%random% %% 10"
  46. Set /a "num13=%random% %% 10"
  47. Set /a "num14=%random% %% 10"
  48. Set /a "num15=%random% %% 10"
  49.  
  50. goto :EOF
RAW Paste Data