Jump to content
Heads Up! This website is no longer maintained, if your a member from our era, consider joining the discord to say hello.
Sign in to follow this  

Batch (cmd)

Recommended Posts

Hello and welcome to my tutorial about batch (cmd).

Firstly, lets take a look at the cmd.

 

1. Goto Start.

2. Open Run.

3. There should come a textbox up, where you can write something. Write "cmd" and press ok.

 

Now, you should have a black DOS window. If not, try logging on admin.

If you want a list over some basic commands, type "HELP".

Now lets try and write "IPCONFIG".

The window should show something like this:

 

 

IP-Adress: xxx.xxx.xxx.xxx

Mask: xxx.xxx.xxx.xxx

Standardgateway: xxx.xxx.xxx

 

Here you go, you just got your own ip-adress, and information about it! Congratulations!

Now if you are tired of this tutorial, go type shutdown -s.

If not, lets proceed!

 

Now that you got your ip, you could, as an example, shut your own computer down!

Type this:

"shutdown -i"

A window should popup with details about what to do.

There are several things to do.

The first one is the "Computers" window.

Press add, and write either your own ip, localhost, or 127.0.0.1

Then choose shutdown the computer, and alert the user.

Then at the "Show the alert for how long", type in 60.

Just choose others at the next dropdown box.

Comment: Write anything you want.

Now press ok.

A window should pop-up about that your computer will shutdown in 60 seconds. (1min)

Now, if you dont want your computer to be shut down, goto commandprompt and type shutdown -a.

Then it will abort the shutdown.

Congratulations! You have just made a shutdown on your own computer, AND you have aborted it! good job :(

 

Now lets move on.

Try this command: netstat -b

When you type it, you should see alot of ip's and other stuff...

By typing the nestat -b, you can see all connections established to your computer.

For an example, my computer is connected via Firefox.exe, and Miragebot.exe, and msnmsgr.exe to some ipadresses.

This is because that My browser, Mozilla Firefox, 's proccess (the program) is named firefox.exe, so thats why it shows that.

It shows where its connected to.

Like with miragebot.exe (the bot i use) is connected.

Congratulations, now you can see wich programs/ips thats connected to your computer!

 

Now that youve learned some basic commands and parameters, try to experiment with the commands that gets shown in HELP.

 

Now im going to say goodbye.

 

Dekusvamp.

Share this post


Link to post

Start>Run>

 

%systemroot%hh.exe mk:@MSITStore: %systemroot%helpms-its:ntcmds.chm::/batch.htm

 

This will bring up a full list of batch commands.

Share this post


Link to post

Whaat?

Edited by dekusvamp

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×