Hackaholics

Click here to edit subtitle

CMD Tricks

Cool cmd tricks you never knew....

Shutdown Local Machine (Your Computer).

Type "shutdown -s" without the quotes in the command prompt and press Enter. Shutdown is the command being executed and the switch -s tells the computer to shutdown.


Shutdown your or a remote computer after a specific time

Type "shutdown -s -t 60" to shutdown your computer after 60 seconds. Upon executing this, a countdown timer displaying a warning message will be shown. This command uses the -t command switch followed by a variable (which is 60 in this case) which represents the number of seconds after which the computer will shutdown.

Display a Message containing the reason for shutdown

Type shutdown -s  -t 500 -c "I am tired. I don't want to work anymore." (with the quotes) in the Command Prompt and press Enter. The -c switch is used in the code to give the reason for shutting down and what is followed in quotes will be displayed in the dialog box as the reason. This can be used to display all sorts of funny messages. One example :-

Skynet has become self aware. John Connor did not stop me. You can not use your PC anymore.

Chatting with CMD

Hi everyone today I will show you how to make chat with cmd .
First open Notepad and write this

@echo off
:A
Cls
echo MESSENGER
set /p n=User:
set /p m=Message:
net send %n% %m%
                                                                                          Pause
                                                                                          Goto A

                                                                       and then save as "Messenger.bat" and close the Notepad

when you open the file Messenger it will open the command prompt
whit this.

Messenger
User:

after "User" write the ip of the computer you want to contact and then press enter.