Best CMD (CommandPrompt) Tricks And Hacks – [2022] Best CMD (CommandPrompt) Tricks And Hacks – [2022] List Of Best CMD Tricks (Command Promp...
Best CMD (CommandPrompt) Tricks And Hacks – [2022]
Best CMD (CommandPrompt) Tricks And Hacks – [2022]
1. Creating Con Or Non-Deletable Folder With CMD
2. Shutdown Computer In Specified Time With CMD
3. Print Message Before Shut Down.
4. Shut Down Computer With Commands
5. Assoc CMD Command.
There are many programs installed on our computer. Each program has its file extension. It is difficult to remember each file extension.
If you want to know which file is associated with which program then we can do this by typing the following command
This command provides you a list of programs and their related data.
6. Hide A Folder With CMD Command.
We can play some interesting tricks with the command prompt. Hiding a folder is one of them.
By hiding a folder, you can also save your data from other users. You can do this by typing the following command.
Where ABC is the name of the directory, we want to hide.
Unhide The Folder.
If we can also unhide the hidden folder using the command prompt. To unhide the folder, you need to type the following command.
7. Net Related Commands.
A net is a cmd tool that is used to see the stat of the network. This command provides information about the active connection.
This command is used to update or view network settings.
It is used to view the services that are started using the following versions of this command
1. net stop server ( the server is currently not running any service).
2. net start server (the server is starting a service).
3. net start (it is used to check the services that are currently running).
4. To connect to shared network devices, use the following command.
net use m:sharedservername (for connecting to share network drives).
net use m:sharedservername/delete (for disconnecting to share network drives).
8. Netstat CMD Command.
Netstat command is an essential 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 connections and listening ports.
We can view Ethernet statics and resolve connecting host IP address to a fully qualified domain name. Netstat command can be used with the following attributes.
1. -a (display all connection).
2. -n (sorts connection in numerical order).
3. -b (executable display name. that is browser name).
9. IP Related CMD Command.
IPconfig is the most useful command to see the IP address, Default gateway, and subnet mask. This command is related to networking and is most famous for troubleshooting the problems related to TCP/IP.
To view Subnet Mask and IP Address used.
To view TCP/IP related Information use.
To view DNS cache use.
To delete the local cache of DNS use.
10. Nslookup CMD Command.
When we use the internet, the Domain name server resolves the Domain names to IP addresses, so we do not need to remember the IP addresses.
But in case of troubleshooting, we can instead get the IP address of a particular website using this command.
11. Get a List Of PC Drivers.
Another amazing in all cmd tricks by using it, we can get a complete list of all drivers installed on your PC along with their details. Just type “driver query” in the Command Prompt.
Then, tap on entering to see a list of all drivers installed on your PC along with their details.
12. Command Prompt Color Change.
We have seen Command Prompt with a black screen and white font since forever. Because it is the default theme. What users do not know is that the colors in the command prompt can be easily changed. So here most wanted in all CMD tricks.
To do so, right-click at the top corners of Command Prompt, then select “Properties” from the menu. In the properties, click on the “Colors” tab, and you will find all the options to change the color of both text and background.
13. Create Your Own WiFi Hotspot.
Due to android phones, we are using Wifi hotspots. Therefore, we can create a Wifi hotspot using our laptop or PC with this simple CMD trick.
You can instead use this trick to share your wireless dongle internet connection with other devices.
Enter the following command to enable Wi-Fi Hotspot.
“netsh WLAN set hostednetwork mode=allow ssid=Hotspotname key=password”
Then, to start Hotspot, enter :
“netsh WLAN start hostednetwork”
As well as to stop hotspot, come:
“netsh WLAN stop hostednetwork”
Best CMD (CommandPrompt) Tricks And Hacks – [2022]
No comments
Thoughts are Welcome!