@ECHO OFF
TITLE Tests to see if the Windows Messenger Service is Running.
COLOR 07
ECHO Created April 4th, 2007
ECHO.
ECHO Tests to see if the Windows Messenger Service is Running.
ECHO.
ECHO If you get a warning message you need to kill the messenger
ECHO otherwise your fine!
ECHO.
ECHO When you are ready to start the program,
PAUSE
msg *.* Warning! Windows Messenger was found running, your system is at risk!
exit
You can modify and use this script to send messages along a private
network or Intranet.
Great for in the workplace because you don't have to install anything
the bat file can be launched from usb drive or flopy/cd etc.
Showing posts with label MSDOS. Show all posts
Showing posts with label MSDOS. Show all posts
Tuesday, December 16, 2008
BATCH ASCII ART - How To Example
Please note the will look better when run in a command window or MSDOS.
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 ..::''''::..
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.
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.
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.
Subscribe to:
Posts (Atom)