Fun With Batch CMD!!





Introduction: Fun With Batch CMD!!

In this Instructables I will teach you beginners(unless you're a pro which in case you should not waste your time on this) something about batch and simple commands that can make your time on your computer a little better than wasting it on some crappy new Halo game(no offence).

I will be explaining how to use cmd to talk, prank, scare, or even infect the computer!!(the basic kind)

There's a file for you to download(below), I made it of course for you to comment on!!(don't be hard on me, I'm not a pro...)

Step 1: Very Basic!!

When you make your own batch program, you should have Notepad opened.

on the first line, we start off with:

@echo off

or maybe:

@echo on

or maybe you don't want to put anything on the first line.(not recommended)

but the main point to this is if you want to show or hide the commands, but normally you don't want to, or else it will ruin the beauty of your work.

Step 2: Basic Codes

In this step I will show you the very easiest of codes, which are below:(things in brackets can be replaced with instructions, if two brackets have the same thing writen then they are some how linked)

-this is kind of like a checkpoint for later purposes.

GOTO (anything1)
-this means go to a checkpoint specified.

echo (message)
-this displays a message in the black screen, but it is useless without a pause.

msg * (any message)
-this displays a message in a message window.

@echo off (file name)
-records the phrase in a new file.

(anything) >> (file name)
-records the phrase in a new file.

start (file name[possibly path too])
-this starts a specific program.

-this is used when you want the viewer to see your messages and press any key to continue.

-actually I haven't figured out what this is but it let the program pause for a while.

attrib (path and file name)
-this changes the attribute of the file, you need to add +s -s +h -h +r -r before the path and file name, each of the letters mean(in order): Y system file status, N system file status, Y file is hidden, N file is hidden, Y file is read-only, N file is read-only.

del (path or path with file name)
-delete the specific file.

-makes a blank line.

Well thats all I know...

Step 3: Happy Batching!

Do what the title says...

If I got anything wrong free to speak up.



  • Epilog Challenge 9

    Epilog Challenge 9
  • Sew Warm Contest 2018

    Sew Warm Contest 2018
  • Gluten Free Challenge

    Gluten Free Challenge

We have a be nice policy.
Please be positive and constructive.




can i get the actual notepad for this plz and thank you

Hello, im new to cmd hacking and i need some help with my question file will someone contact me please. i would be really grateful thanks

 Nice tutorial! But I have a question... how do you post a download lnke like you did with ""

you have to rename the downloaded file call it "funwithbatch.bat"

try this:

@echo off
color 3
echo what is your name?
set /p input=
echo hello %input%
echo how are you today (good/bad)
set /p input=
if %input%==good goto good
if %input%==bad goto bad
echo that is good
goto bye
echo that is bad
goto bye
echo good bye for now
goto end

Why did you block your username out?

I know! He doesn`t want people to take control of his PC, if they are a hacker!

You can't take control of someones computer by knowing there username -.-

 Sorry for my late comment but...if there a hacker you can EASSSSSSSSSLE get there username... :| fail
try this in command prompt:
echo %username%
WOW i have your username :|

ummm... how do you close it? please help me!!!