1.

Solve : Need batch file help?

Answer»

I want to make a BATCH file.
Example.
:1
echo Hello
PING 1.1.1.1 -n 1 -W 1>NUL
cls
echo         Hello
PING 1.1.1.1 -n 1 -w 60000 >NUL
cls
echo                  hello
goto 1

If any key pressed goto 33
:33
echo This is over.
pause
i want to be able to press any key in between the commands to goto a different command

Basically what i want it to do is keep doing commands but when i press SOMETHING at any time it will go to another command.Batch does not have a method of COLLECTING keypresses like you describe. You will need a proper PROGRAMMING language.



Discussion

No Comment Found