Solved Batch string instant sellect

December 17, 2011 at 07:58:09
Specs: Vista, Intel core 2 duo 1,83 GHz/3 GB RAM
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.

See More: Batch string instant sellect

Report •

Report •
Related Solutions

Ask Question