Breaking News

List Of 200+ CMD Tricks & Hacks Commands

Best CMD Tricks? Are you searching for Leaning CMD Coding Commands? A hidden Terminal in Windows is just Amazing! One can use it for hacking and for security as well. This Tool is considered as a Most popular tool for windows. However, We thought this tool is not built for us. But it’s not true! Command Prompt Tool (CMD) is very useful tool But most of us don’t even know how to use it? So to make clear all you doubts related to CMD. We are here with a List of 200+ CMD Tricks, Hacks and All basic things that could help you to learn CMD Tool.

 What is Command Prompt (CMD)?  Command Prompt, well known CMD, is the command-line interpreter on Windows NT, Windows CE, OS/2 and eComStation operating systems. Well, In Command Prompt we could give direction in a specific action assigned to a program to perform a specific task.

 How To Open Command Prompt? 

 Step-1:  Click On The ‘Start’ Menu.

 Step-2:  Type ‘CMD’ or ‘Command Prompt’ On search box.

 Step-3:  Click on The CMD as shown in the picture.

You can also open it by Alternate Method Press Windows Key + R that will eventually open the Run window, where you need to type CMD and hit enter.

"List Of 200+ CMD Tricks & Hacks Commands"

 #1 Use of Function Keys: 

The function keys are F1, F2, F3… till F9. Specific functions are given to every function key. The function of every function key is listed below:

 F1:  This function key pastes per character last used the command.
 F2:  You can use this function key to paste last used command only to a specified command character.
 F3:  Paste the Last used command using this function key.
 F4:  Delete command only to a specified command character using this function key.
 F5:  This function key pastes last used the command without cycling.
 F6:  Paste ^Z using this function key.
 F7:  This function key provides a list of already used commands.
 F8:  This function key pastes cycle-able used commands.
 F9:  This function key will let you paste command from the list of recently used commands.

 #2 To Copy Data From Command Prompt: 

You cannot just copy from the command using the keyboard shortcut which is Ctrl+C. To copy data from the command prompt, right-click anywhere on the window and then, click on ‘mark’ from the drop down box. Now, select whatever you want to copy and finally hit enter to copy that part. However, the keyboard shortcut to copy and paste data from the command is enabled in the Windows 10.

 #3 Getting help: 

This trick is for all the beginners as well as professionals since there is a lot I’ve can learn using this trick. Thus trick allows you to get the info of almost every command from the command prompt. This info tells you about what that command does, what process are used and also shows you some examples. To execute this trick, you need to type “/?” at the end of the command whose info you need.

 #4 Execute Different Commands in an Order: 

There are tricks using which you can easily execute commands one after another. You need to put “&&” between two consecutive commands to execute them one after another.

 #5 Check IP Address Of Any Website: 

Checking the IP address of a particular website is not a difficult task. Ask you need to do is enter “nslookup” command along with the name of the website. For example below box cmd trick, will give you the IP address of itechhacks website.

 #6 Create Permanent Folders: 

Permanent folders can be created using the command prompts. You need to toe the bane of the disk in which you wish to create this folder followed by either “md con\” or “md lpt1\” and hit enter. The final code should look something like “D: md con\“. The new folder will be created with this same name. This permanent folder can only be deleted using the command prompt and to do that, you need to swap “md con\” with “rd con\” or “md lpt1” with “rd lpt1” and hit enter.

 #7 Compare And Check The Difference: 

Using command prompts, you can compare two text files and check the difference. To do this, you need to type “FC” command to enter the directories of both text files. The structure of this command prompt should look like “fc nameoffirstfile.txt nameofsecondfile.txt” and hit enter to obtain the comparison results of both the files. If both the files have no difference then, the command will return to the message which reads “no difference encountered”

 Must Read: 

 #8 Scan The System Files: 

Scanning and repairing your system files is made easy by the command prompt. Just type “sfc/scannow” and hit enter. The scanning will immediately start and it will either repair the files or provide you with the details of any problem encountered.

 #9 Netstat CMD Command: 

Netstat is another best CMD Command, it is an important tool when you want to know about who is establishing a connection with your computer. The output of this command provides you the information about all active connection and listening ports. Check below attributes to execute this COMMAND:

 1.  -a (display all connection).

 2.  -n (sorts connection in numerical order).

 3.  -b (display executable name. that is browser name)

 #10 Create a WiFi Hotspot: 

Using command prompt, you can set up a WiFi hotspot on your PC and thus, be sharing your internet access with a number of devices around you, without making use of any third party app. The steps required to setup this WiFi hotspot are:

 Step-1:  Enter the text “netsh wlan set hostednetwork mode=allow ssid=HotspotName key=Password“ in the command prompt and enter any name you wish in place of ‘HotspotName’ for your hotspot and ‘Password’ with a unique password of your choice. Now, hit enter to save the changes.

 Step-2:  To broadcast your WiFi hotspot, you will have to type “netsh wlan start hostednetwork” in the command prompt so that the devices near you can connect to your hotspot.

 Step-3:  To terminate the WiFi hotspot, you will have to make use of command “netsh wlan stop hostednetwork”. This will stop the broadcasting. if you want to restart the broadcasting, you will have to apply the step 2 once again.

 #11 Encrypt Files Using Command Prompt: 

Encrypting important data is a very useful tool in command prompt. Encryption is more like restricting your personal data to yourself. Using command prompt, you can easily encrypt files on your PC. For this, you will first need to change your working directory to the folder which contains your files. You can do this by using the “cd” command and then, you’re “Ciper /E” and hit enter. One done, all the files in this folder will be encrypted. You need to make sure that you set a password for your account or else, this encryption will be of no use. These encrypted files will open normally from your account but, not from any other account.

 Must Read: 

 #12 Shut Down Computer With CMD: 

Best CMD Tips, Tricks, and Hacks.You can also shut down your computer by using the command prompt. Type the following command in command prompt:

For Shutdown: shutdown -s

For Restarting: shutdown -r

For Logoff: shutdown -l

 200+ CMD Hacks &  Commands: 

These were some of the best commands prompts or cmd tricks which you can use to make use of Windows in a much different and unique way. Also, you will have access to some of the very powerful customizations. If we have missed out on any such amazing cmd truck which would have been mentioned then, please let us know in the comments section. Also, please tell us which cmd trick did you like the most from our list.
Also Share this Post with your Friends....And Keep Visiting Here!!!

 Also Read: 
Help this Website to grow faster. Before you leave from here click on this ads. And support us!
Click on it

No comments