Showing posts with label Programing. Show all posts
Showing posts with label Programing. Show all posts

Tuesday, December 16, 2008

ASCII ART Examples

Rather then copying thousands of ASCII Arts from all over the net here,
I will just post a few good links to help you get started.

Check out the "How To Example" to see how to include ASCII ART in your batch script with ease.

Links:

Just one for now, more too come!

http://chris.com/ascii/

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

Supported Batch Colors

COLOR 0 = BLACK "will not work in the cmd window"
COLOR 1 = BLUE
COLOR 2 = GREEN
COLOR 3 = AQUA
COLOR 4 = RED
COLOR 5 = PURPLE
COLOR 6 = YELLOW
COLOR 7 = WHITE
COLOR 8 = GRAY
COLOR 9 = LIGHT BLUE
COLOR A = LIGHT GREEN
COLOR B = LIGHT AQUA
COLOR C = LIGHT RED
COLOR D = LIGHT PURPLE
COLOR E = LIGHT YELLOW
COLOR F = BRIGHT WHITE

Example:
COLOR F2
The first specifies the background color while the second the text.

How to Program Directly from the CMD or MSDOS Window!

Did you know you can write and run batch scripts directly from the MSDOS or CMD Window?

Have a look at this screenshot. (Click for full view)


At the command prompt just enter "(" to start scripting and ")" when your done!

It's that easy!

Just type everything out as if you were in Notepad.

Tip: To clear the source code from the screen before running the program use the "CLS" command.