I'm not quite sure, but shouldn't it be just "echo off", not "EcHo off"?
Hello, i have created a batch file for my friends to use. (POD) I am having an Error on line 6: (my lines): @EcHo off
title Scooter's POD Machine 1.0.0
set /p IP=What IP do you want to ping?
Echo @EcHo off > 1.bat
Echo :A >> 1.bat
Echo ping %IP% -t -l 1220 >>> 1.bat
echo goto A >>>> 1.bat
echo @EcHo off > 2.bat
echo :A >> 2.bat
echo ping %IP% -t -l 1250 >>> 2.bat
echo goto A >>>> 2.bat
echo @EcHo off > 3.bat
echo :A >> 3.bat
echo ping %IP% -t -l 1240 >>> 3.bat
echo goto A >>>> 3.bat
echo.
echo Files created! Press any key to start the POD!
pause
echo.
set /a x=0
:loopname
set /a x=%x%+1
start 1.bat
start 2.bat
start 3.bat
if %x% NEQ 20 goto loopname
echo Completed!
On the 6th line, it will create the first document, but will not publish the 6th line itself. the first document looks like:
@EcHo off
:A
it then says nothing else, how can i get it to write all three documents correctly?
Registered- 11-09-2013
New Member- 3-11-2014
The forum automatically did that. someone has a registered username of EcHo.
Registered- 11-09-2013
New Member- 3-11-2014