| @echo off | | setlocal enabledelayedexpansion | | set var=123456789 | | set /a h1=%random%%%9+1 | | set var=!var:%h1%=0! | | for /l %%i in (9,-1,7) do ( | | set /a temp=!random!%%%%i | | call set h%%i=%%var:~!temp!,1%% | | call set var=%%var:!h%%i!=%% | | ) | | echo %h1%%h9%%h8%%h7% | | pauseCOPY |
|