I'm trying to have a string being set instantly when either w, a, s or d is pressed. This is the code i'm currently using to set the variable:
set /p mystring=
if %mystring% == w goto place1
if %mystring% == a goto place2
if %mystring% == s goto place3
if %mystring% == d goto place4
if u need all the code just ask.
for now the user have to press "enter" after entering the "command"
I would be grateful for ant help.