I use this variable %random% to get random number, but the result must be always 5 byte
Code: Select all
@echo off
echo %random%
echo %random%
echo %random%
echo %random%
echo %random%
echo %random%
echo %random%
echo %random%
echo %random%
echo %random%
result:
14915
15875
3294 (results must be 03294)
17197
25615
28844
3323 (results must be 03323)
457 (results must be 00457)
21912
21 (resuls must be 00021)
How can I fill zero in result?
Thanks you in advance