Monday, 22 December 2014

Mind Blowing Tricks For Command Prompt

Command prompt is the command line interpreter available in Windows Operating System. With command prompt, you can perform various functions in your computer. It also provides useful information related to your computer and internet. There are many command prompt tricks available, but these given below are the top 10 mind-blowing tricks using command prompt.

Top 10 command prompt tricks

1. Tasklist

IF you are aware of task manager, then this trick is for you. Tasklist shows you the current tasks or programs running on your computer. You can also access the task manager with the help of CTRL + ALT + DELETE. In order to view the tasks running on your computer, type tasklist in the command prompt. The command prompt will display you image name, pid, session name, memory usage etc.
This will show the tasks running as shown below.

If you want to stop the task or process running, type
tasklist /im imagename.exe
Suppose, you want to stop notepad running, type
tasklist/im notepad.exe
There is one more method for stopping the task using the processor id, type
Tasklist/pid 3433
3433 is the processor id.

2. Type

This command is used to read text documents in cmd. All the text documents present in the text file will be printed.
type
Write type followed by the file name with extension as shown above.
Note:- The cmd path and location of the folder should be same.

3. Netstat


Netstat is a command-line tool that displays the network connections , network protocols and network interface statistics. It provides all information of all connections and listening ports, Ethernet statistics and resolve connecting host IP address. We can use different parameters with netstat command. For more information, visit here:-

4. ping and tracert

ping is generally used to see connectivity with other systems while tracert (traceroute) is used to determine the route taken by packets across an IP network.
For using ping:-
Type ping www.google.com
For using tracert:-
Type tracert www.google.com
tracert
The above commands will also show various proxy address that you can use in colleges if any site is blocked.

5. ipconfig

It displays the network configuration, refresh DHCP, DNS settings, current TCP/IP network configuration values.It will also display your ip address. This is mainly used for viewing and troubleshooting TCP/IP problem.

6. Delete folder or file using cmd in Windows 7/8/vista

Many a times, you are unable to delete a folder when the file corrupts or virus mom stuck to it. You come in more trouble when it happens to your USB flash Drive/Pendrive. Below is a trick to delete your folders permanently using CMD(Command Prompt).

Delete folder or file using cmd in Windows 7/8/vista 


7. Diskpart

Many a times, you need a privacy to hide your drives, partitions, official documents from other users. diskpart command is used to hide any local drive using cmd.

How to hide local drive/partitions using cmd in Windows 7/8


 8. Format hard drive

Format command is used to format a drive in cmd. Many a times, when you are stuck with viruses and you can’t format your pen drive in normal way, then use the format command to format the pen drive using cmd. For details, click on the link below:-
9. SLMGR –REARM
This command is used to make a windows genuine using cmd. here is a step by step guide how to make your windows genuine using cmd.

 10. Run commands

You can execute all the run commands in cmd. It often occurs that you want to search for a important software and you are unable to find it or it takes much time. But, you can easily execute the program with the help of run or cmd.

No comments:

Post a Comment