Tuesday, December 16, 2008

BATCH ASCII ART - How To Example

Please note the will look better when run in a command window or MSDOS.


ECHO ..::''''::..
ECHO .;'' ``;.
ECHO :: :: :: ::
ECHO :: :: :: ::
ECHO :: .:' :: :: `:. ::
ECHO :: : : ::
ECHO :: `:. .:' ::
ECHO `;..``::::''..;'
ECHO ``::,,,,::''


Tip: Copy & Paste your ascii art into a file art.txt (Do NOT include the ECHO!)
Then use the "type" command in your batch script to display it.

Example:


@ECHO OFF
TITLE ASCII ART
TYPE art.txt
ECHO DON'T WORRY, BE HAPPY!
pause
exit

2 comments:

  1. follow @benjaminhull_ on instagram

    ReplyDelete
  2. Had the same issue. Found this neat trick
    using an end of file token (EOF in this case)
    it basically reads the lines "as-is" to the screen much like type.

    your script stuff here then
    cat << "EOF"
    ascii art
    here until done
    EOF
    more script stuff here and so on....

    nc

    ReplyDelete