I've been having a lot of touble working out the problem with my code regarding ASCII art, the line in question is below:
PING localhost -n 1 >NUL
echo ' ----' ""-. \/ //
PING localhost -n 1 >NUL
Every time I get to it, it terminates the cmd prompt and throws The syntax of the command is incorrect
- I suspect that I unknowingly picked the wrong order of a few characters in the specified line and accidentally began a command deriving from the echo command earlier.
As you will notice I've escaped my way through the first obstacle which was the first line off code, however the one after the pause
command has me stumped.
I would like to know what symbols, or order of symbols caused this so I can refine the rest of my code. My code is:
echo ___^<__^(^|^)_ ""-/\//\//
pause
PING localhost -n 1 >NUL
echo ' ----' ""-. \/ //
PING localhost -n 1 >NUL
echo ) ] |
PING localhost -n 1 >NUL
echo ____..-' . / )
PING localhost -n 1 >NUL
echo ,-"" __.,' / ___ /,
PING localhost -n 1 >NUL
echo / ,--""/ / / /,-"" """-. ,'/
PING localhost -n 1 >NUL
echo [ ( / /\/ / ,.---,_ ._ _,-','
PING localhost -n 1 >NUL
echo \ -./ / / / / -._ """ ,-'
PING localhost -n 1 >NUL
echo -._ / / / /_,' ""--"
PING localhost -n 1 >NUL
echo "/ / / /"
PING localhost -n 1 >NUL
echo / /\/ /
PING localhost -n 1 >NUL
echo / / / /
PING localhost -n 1 >NUL
echo / |,' /
PING localhost -n 1 >NUL
echo / / |
PING localhost -n 1 >NUL
echo [ // ,'
PING localhost -n 1 >NUL
echo | / ,'
PING localhost -n 1 >NUL
echo |/.-'
PING localhost -n 1 >NUL
echo \-'`
timeout 3
:PASS
ECHO Slyshoiev en dyevet rhyzhok.