I am running this code:

```
@echo off
set /a var=0001
:start
if %var% == 10 set %var5%=00
if %var% == 100 set %var5%=0
if %var% == 1000 set %var5%=
if %var% == 9999 pause
set /a var=%var5%%var%+1
set var2=STRING %VAR%
set var3=ENTER
set var4=DELAY 1000
echo %var2%
echo %var3%
echo %var4%
@echo %var2%>> inject.txt
@echo %var3%>> inject.txt
@echo %var4%>> inject.txt
goto start

```

Which I made to generate a text file for a brute forcer that runs on a Usb rubber ducky. But, the if %var% == 10 set %var5%=00 Does not work. When it reaches 10, 100, or 1000 it does not add the 0000 to the beginning of the number. Please help, I'm using this for a friend that had his steam account hacked, and he needs to crack the 4 digit pin for the "parental controls"