I am currently trying to work on a batch file that opens up a command prompt, once opened the command prompt starts simulating typing, here is what I have so far Coding:
@echo off
setlocal
for %%i in (H e l l o H o w A r e y o u) do (
set /p "=%%i"<nul
ping 169.254.0.0 -n 1 -w 500 >nul
)
echo;
goto :EOF
the problem I have is, I can only do one word, when I start the command prompt it starts typing it, like this HelloHowAreYou I need the words to be separated, is there anything I can do? Oh, I'm also on Windows 7