Introduction: Batch Memory Notes

About: I love to be outside but when I'm not I'm programming. Please like and comment!

Hey Everyone! I'm BatchBum and I make batch files. This is my first Instructable on this account so I've done Instructables before. Today I will show you a really cool batch script I made called Memory Notes. It's kinda like Windows Sticky Notes. P.S. I bolded some sentences just so you wouldn't get confused what are commands or not.

Step 1: Runthrough

Before we begin I would like to tell you we are using c# programming and I would like to show you some common commands.

@echo off: Turns off that C:\Users\Username\ junk.

cls: Clears the page. (Keeps it nice and neat.)

echo.: Just spacing so your writing doesn't jet all cramped together.

echo: Put this be for any text you want to write.(e.g. echo Hello Everyone!)

pause: Makes the file say Press any key to continue... And it does make you.

exit: This is pretty self explanatory, but exits out of the batch script.

set /p WHATEVER: Just a choice command, except WHATEVER is not a command it is just in place for another of the many commands.

if: Another command for choice but it is used in set /p ---.

•: This isn't really a command but a makes a single beep for every bullet point.

color: Changes the color of background or text.

timeout: A timer that counts down an amount of numbers you set.

Step 2: Notepad

First open notepad this will work on Windows XP, 7, or 8. No promises with Windows 98, 95, or older.

Step 3: Beginning Commands

Start by typing:

@echo off

cls

Most people just use @echo off but it is good to add the cls.

After that type:

color E0

E0 Will make the background yellow and the text black. For a full list of colors type "color 456" With out the "" In Command Prompt.

Step 4: More Advanced Commands

Now you should have:

@echo off

cls

color E0

After you finish that add:

title MEMORY NOTES

echo.

echo !WARNING! Do not press Enter until you are done with your notes.

echo.

So put that together and you should have:

@echo off

cls

color E0

title MEMORY NOTES

echo.

echo !WARNING! Do not press Enter until you are done with your notes.

echo.

Step 5: Note Commands

To enable the note writing type:

pause

cls

set /p name=

pause

cls

echo.

echo Do you want to delete? [1=YES] [2=NO]

echo.

set /p variable=

if %variable% equ 1 goto 1

if %variable% neq 1 goto 2

:1

:3

cls

color A

echo.

echo DELETING AND EXITING IN...

timeout 5

exit

Add that to the bottom. Make sure to ALWAYS enter after every command. You should now have....

@echo off
cls
color E0
title MEMORY NOTES
echo.
echo !WARNING! Do not press Enter until you are done with your notes.
echo.

pause

cls
set /p name=
pause

cls
echo.
echo Do you want to delete? [1=YES] [2=NO]
echo.
set /p variable=
if %variable% equ 1 goto 1
if %variable% neq 1 goto 2
:1

:3
cls
color A
echo.
echo DELETING AND EXITING IN...
timeout 5
exit

Step 6: Finishing

So the commands are getting a little longer but we are almost done. Add:

:2

cls

color E0

echo.

echo %name%

echo.

pause

cls

echo.

echo Get ready for your note to be deleted!

echo.

timeout 3

goto 3

Add that to the bottom and you should be done! Make sure yours looks like below.

@echo off
cls
color E0
title MEMORY NOTES
echo.
echo !WARNING! Do not press Enter until you are done with your notes.
echo.
pause

cls
set /p name=
pause

cls
echo.
echo Do you want to delete? [1=YES] [2=NO]
echo.
set /p variable=
if %variable% equ 1 goto 1
if %variable% neq 1 goto 2
:1
:3
cls
color A
echo.
echo DELETING AND EXITING IN...
timeout 5
exit

:2
cls
color E0
echo.
echo %name%
echo.
pause
cls
echo.
echo Get ready for your note to be deleted!
echo.
timeout 3
goto 3

Step 7: SAVE!!!

Save your file as memnotes.bat DO NOT FORGET TO PUT .bat

.bat Means to open it in a batch file.

Step 8: Pictures

Since I can't up load a .bat document I will show you some pictures of how it should look.

So remember this is supposed to be like Sticky Notes so when you write your note just Minimize it.

But if you want to delete it press enter than 1. (Like it says)

THANKS!