Hello! This tutorial teaches you how to make a whimsical little ghost on your screen using BATCH programming! Have fun haunting your computer!

Step 1: 1. Open Your Editor

The first thing we need to do in order to begin creating our little pixel friend is to open an editor in which we can write a batch file. You can use either Notepad, or EDIT. I will describe the Notepad Method in this tutorial.

1. Click "Start" .
2. Click on the icon for Notepad, or type "Notepad" into the search bar.

Step 2: 2. Type Some Code

This step may sound daunting, but I promise to make it easy.

Once you have opened Notepad, click in the text editing field and type:

@echo off

This line of code stops the program from enabling certain functions that could prevent it from working.

Now, copy and paste the following into your notepad:

color 0a
echo                                              ************************
echo                  *********           *     I'm A Ghost! Boo!     *
echo                 ***********           ************************
echo               *************            **********
echo               *     *****      *          ******
echo               *     *****      *         ****
echo               *  *******   ***        **
echo               *  *  *****   *  *       *
echo               *  *  *****   *  *
echo               ***************
echo               ***************
echo               ***************
echo               ***************
echo               ***************
echo               ***************
echo               ***************
echo               ***************
echo               ****    ***   ****
echo                 ***   **      ***
echo                   **   *       **
echo                     *           *




You can change what the ghost says if you want, I used "Hello!" as an example.

You can also change the ghost's color. This program makes a green ghost.
You can alter his color by changing the number and letter that follow the "color" line.





Step 3: 3. Saving Your Ghost

In order to run this program as a batch file, you need to save it in the batch format.

1. Click on the "File" Button.
2. Navigate to the file called C:\Users\Your Username Here
3. Save The File as "ghost.bat"

It is important that the file ends with ".bat"
It lets the computer know that you have written a batch file.

Now Open Command Prompt by

1. Clicking "Start"
2. Clicking or Searching "Command Prompt"

Step 4: 4. Running Your Ghost!

Note: Your ghost looks a LOT better in full screen, to make him full screen

1. Right click on the command prompt icon.
2. Click on "Properties"
3. Check the Full Screen Option
4. Click Ok.


1. Type cls and hit Enter
2. Type ghost.bat and hit Enter
3. Press Any Key...

And there is your ghost! You Did it!

Thanks For Reading This Instructable!
<p>https://www.instructables.com/id/Full-screen-batch-matrix/</p><p>Full screen batch matrix</p>
<p>to fix the &quot;c:\Users\James\Desktop&quot; thing (different for you) type &quot;echo off&quot; at the start.</p><p>Here is the new code:</p><p>echo off</p><p>PAUSE<br> cls<br> color 0a<br> echo.<br> echo.<br> echo.<br> echo.<br> echo.<br> echo.<br> echo.<br> echo ************************<br> echo ********* * I'm A Ghost! Boo! *<br> echo *********** ************************<br> echo ************* **********<br> echo * ***** * ******<br> echo * ***** * ****<br> echo * ******* *** **<br> echo * * ***** * * *<br> echo * * ***** * *<br> echo ***************<br> echo ***************<br> echo ***************<br> echo ***************<br> echo ***************<br> echo ***************<br> echo ***************<br> echo ***************<br> echo **** *** ****<br> echo *** ** ***<br> echo ** * **<br> echo * *<br> echo.<br> echo.<br> echo.<br> echo.<br> echo.<br> PAUSE</p>
It might be better if you actually posted the code as text instead of a picture lol. So people could just copy and paste instead of trying to type it out from the picture. Just a friendly suggestion.
You can now copy/paste. Thanks for the input, it is always good to be able to improve my work.
I agree
Me third.

About This Instructable



Bio: SteamPunk enthusiast, poet, tech fiend, and fantasy lover, The Raven King has a broad range of interests and a taste for the eccentric. The Raven ... More »
More by TheRavenKing:Using Batch Files To Make A Friendly On-Screen Ghost 
Add instructable to: