how can i insert this ascii text art in cmd or command prompt?

Steven N. Vidanes picture Steven N. Vidanes · Jul 6, 2012 · Viewed 38.6k times · Source

how can i insert this text art in cmd? Do i do it like this?

@echo off
cls
echo .................................................__________......
echo .... _________________________________________ ./           \\___
echo .___/             /..|        /_/   _____   |_ |   _______   ||..
echo .__/ ____       //...|   ____/  |  |.....| ||..|  /...||...\ ||..
echo ../_____/      //....|   || ....|  |_____| ||..|   ___||___  ||..
echo ......./      //.....|   |____..|       ___||..|  |___  ___| ||..
echo ....../      //......|    ___/..|   |\   \\ ...|   ...||...  ||..
echo ...../      //.......|   || ....|   |.\   \\ ..|   ...||...  ||..
echo ..../      //_______ |   |______|_  |..\   \\ .|  \___||___/ ||..
echo .../  ____________ /_|           /  |__.\   \\ |             ||..
echo __/_______________/.\___________/_____/..\___\\\____________//...
pause

Answer

BartekB picture BartekB · Jul 11, 2012

The problem with this ASCII art is the use of "|" special character. So no, removing echo off won't help. It's necessary to avoid seeing echo command before each line of your ASCII art. Escaping all pipes will. All you need to do is replace any appearance of: | with ^| and you are good to go.

Just tested and it went fine. Previously it was erroring out each time you had: echo ....|... because it would read: echo .... and pipe it to ... so latter was not found command - pause was never run and whole ASCII was not displayed.