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.



    • Colors of the Rainbow Contest

      Colors of the Rainbow Contest
    • 1 Hour Challenge

      1 Hour Challenge
    • Fandom Contest

      Fandom Contest

    27 Discussions


    2 years ago

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

    Aleksander KnoffS

    3 years ago

    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


    9 years ago on Step 3

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

    1 reply

    7 years ago on Introduction

    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


    Reply 9 years ago on Introduction

     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 :|

    If you're lucky, hit control+alt+delete quick, and close out all the applications. Or otherwise, just restart your computer. The beauty if fork bombing is that it really doesnt destroy anything, its just a major incovenience when you have to shut down your computer XD

    hmm, i made it on a computer so it runs the fork bomb every time my documents is pressed! How do i remove it?