[Solved] Progress bar shows “echo is OFF” message


Your actual question of why your echos aren’t working is perfectly reasonable, and it’s an extremely common error for beginners.

| is a symbol that takes the output of one command and uses it as the input of another command. In your case, you effectively have echo by itself, which will simply return the status of echo (in this case, echo is OFF).

In order to get around this, you can either use a different symbol, or you can open your code in a text editor and replace all instances of | with ^|.

^ is an escape character, which tells echo to interpret the symbol literally and print an actual | instead of using it to route command output.

@echo off
setlocal EnableDelayedExpansion
color A
echo hacking main intelligence systems...
ping -n 2 127.0.0.1>nul
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo    Loading...        Please Wait
echo ---------------------------------------
echo                                    :0 ]
echo ---------------------------------------
ping localhost -n 2 >nul
cls
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo    Loading.          Please Wait
echo ---------------------------------------
echo ^|^|                                 :5 ]
echo ---------------------------------------
ping localhost -n 3 >nul
cls
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo    Loading..         Please Wait
echo ---------------------------------------
echo ^|^|^|^|                              :15 ]
echo ---------------------------------------
ping localhost -n 2 >nul

2

solved Progress bar shows “echo is OFF” message