setlocal enableextensions enabledelayedexpansion
set lines=1
set "line1=*PASSWORD*"
for /f %%a in ('"prompt $H&for %%b in (1) do rem"') do set "BS=%%a"
for /L %%a in (1,1,%lines%) do set num=0&set "line=!line%%a!"&call :type
pause>nul
goto :EOF
:type
set "letter=!line:~%num%,1!"
set "delay=%random%%random%%random%%random%%...
set "delay=%delay:~-6%"
if not "%letter%"=="" set /p "=a%bs%%letter%"
:: adjust the 3 in the line below: higher is faster typing speed
for /L %%b in (1,3,%delay%) do rem
if "%letter%"=="" echo.&goto :EOF
set /a num+=1
goto :type (Take this out if you don't want it to repet)
I can successfully start my game program with this .bat file
start /d "C:\Program Files (x86)\(PROGRAM FOLDER NAME HERE)" (PROGRAM.EXE HERE)
or a more easy to read example
start /d "C:\Program Files (x86)\balloons" ball.exe
It's great! However, this game requires me to log in. It automatically has my username remembered but it doesn't have the password. I want the .bat to also type in the password and hit the "enter". ( also if you could show me with the .bat that types the username and password, that would be great too! )