Instructables
Picture of 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...)
fake.zip978 bytes

Step 1: Very Basic!!

Picture of Very Basic!!
2.bmp
2.bmp
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.
 
Remove these adsRemove these ads by Signing Up
101lenny1014 years ago
 Nice tutorial! But I have a question... how do you post a download lnke like you did with "fake.zip"
you have to rename the downloaded file call it "funwithbatch.bat"
~KnexBuild~3 years ago
try this:

@echo off
color 3
echo what is your name?
set /p input=
echo hello %input%
pause
cls
echo how are you today (good/bad)
set /p input=
if %input%==good goto good
if %input%==bad goto bad
:good
echo that is good
goto bye
:bad
echo that is bad
goto bye
:bye
echo good bye for now
pause
goto end
: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 :|
skrunch556 years ago
ummm... how do you close it? please help me!!!
Control + C should stop all currently running batch processes.
How do i stop a fork bomb?
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
What about "Function + break"
How do you put a file on your instructables
hmm, i made it on a computer so it runs the fork bomb every time my documents is pressed! How do i remove it?
You just go to wherever you put your .bat file and delete it.
its not bat, its like an autorun, but its in my documents! so i cant access!
it should end automatically when it has no more arguments to call (instructions)
oh, to end it anywhere in execution use :exit
ctrl+alt+delete click applications click end task
knex_mepalm5 years ago
How do you put a file on your instructables?
will4215 years ago
pause>nul or command>nul hides the output.
LoCalHaCkEr5 years ago
LUCKEY!
PKTraceur5 years ago
THANK YOU! Just what I was looking for, basic .vbs files. (Ctrl+C+V to all the icons on desktop.) Cab you give an example of a start(Filename) ?
jbv65 years ago
Hay! That was pretty good, but I like my fake virus better.
well then why don't you go ahead :P some more commands for you :P (i will inclund his):

@echo off = turns command off (Type this at the top of your program)

@echo on = turns command on

dir = scans all folders and files in the curront folder (no harm)

dir/s = scans all folders and files in the computer (no harm but looks like a virus is installing)

set value=magic = when i type %value% the computer will think i just typed magic (does not have to be value and magic)

set /p value= = the user types something and the computer will make %value% to become what the user typed

set /a value=%value%-1 = say value was 10. i am typing 10-1 but thats going to be the value so with the /a it makes it think its 9

if %value%==55 goto :55 = this will see if %value% is equal to 55 if it is it goes to :55 if not it carrys on from where it was

if not %value%==55 goto :55 = This will see if %value% is not equal to 55 and if it is equal then it carrys on if its not equal then it gots to :55

echo (texthere) = says (texthere)

echo (texthere)>>(filehere).txt = will put (texthere) in to a file called (filehere) and it will be a text documant

cls = clear screen

cd (folder) = goes to the folder

md (folder) = makes a folder called (folder)

start (program here) = start a program

for /l %%n In (1,1,(timeshere)) DO (command here)

%0 = itsself

pause = pause saying "press any key to continue"

pause >nul = pause and say nothing

(command) >nul = does not show that command to the user

:(name) = makes a lable called (name)

goto :(name) = goes to the label called (name)