Astuce Tech

25 Most Helpful Commands of the Command Prompt That Any Windows User Should Know

25 Most Helpful Commands of the Command Prompt That Any Windows User Should Know

Sharing is loving!

As a Windows user, you must have used the command prompt at least once to perform a few small tasks.

Not only for these programs, but the command prompt can be very useful for you to run, run, or open different programs quickly by going here and there, or by searching for this program in the search menu. Windows.

As a result, there are many functions that you can perform from the command prompt, such as creating an indefinable folder, hiding some files, getting the name and details of each install driver in our system, comparing two files, stopping hidden tasks, etc. ..

Here is a complete list of the 25 most useful commands from the command prompt that every Windows user should know about. These commands are really interesting and useful. So, let's go through the list …

25 Most Helpful Commands of the Command Prompt That Any Windows User Should Know

1. ipconfig

If you want to quickly see the IP address of your system or any other information of this type, the ipconfig command is the best option for you. You can get all the information about your system simply by typing a word that is ipconfig and it will display the information about each connection on your system. So, instead of going to the control panel and the other options to get the IP address or DNS server of the system, take the help of this shortcut.

You only need to start the run command, type cmd and press Enter. Now, in the cmd command window, type ipconfig and press Enter. You will get Lan details or any wireless connection connects your PC.

2. ipconfig / flushdns

If you want to use a new DNS server, you simply need to specify the details on the new DNS server in the properties and apply the changes. But do you really think that by doing this, have you completely removed this old DNS server?

Well, no, the DNS server is never completely removed by changing the settings because Windows keeps the cache of the DNS server that you use for future access. Thus, every time you delete a DNS server, its cache is still present on the system and the changes made to the new address may not match correctly, which causes the system to use this old DNS server.

So, in order to use the new DNS server, you must clear the cache of the old first. And you can do it simply by typing a cmd command down, ie ifconfig / flushdns in the command prompt window and press Enter. It will clear the cache of the old DNS server.

3. cipher

Cipher is the shortest command to delete files permanently from a drive. It removes the files from the specific drive and crushes the trash files. This will free some space on the drive for your computer to work well and you have enough space to save your data. You should know that even if you delete the data from a drive, it never removes permanently and the cache or trash files remain attached to the drive. So, by using the encryption command, you can completely delete the data just in one go and you will not have to install a third-party tool to do the same thing.

You can do this simply by running the command prompt, typing the number, specifying the drive name, and pressing Enter. For example, if you want to delete the data from drive C, the command will be as follows:

cipher / w: c:

4. ping, tracert

Ping is an excellent command that you can use to solve Internet connection problems. It can tell you why you can not connect to a website, what are the issues that prevent you from connecting to this particular site.

So, every time you use this command to check for problems when connecting a particular website, say google.com, it sends packets to the site. And when the site receives packages, it sends you an answer. In addition, it will inform you of the number of packets sent, how many were received by the site and how much time the packet received.

Tracert is the other command that provides you with route information that a package takes to reach the destination site. It also shows where the problem occurs when connecting to the site.

To do the same type of tracert simple. For example typing tracert google.fr

5. recimg

Recimg is a cmd command used to create custom recovery images. Each time you install a new window, you can use this command to create your own recovery images. It will remove all the bloatware installed by the manufacturer and add your own desktop programs to your recovery image. So, just typerecimg / createimage image path, for example :recimg / createimage c: images image1

6. ASSOC

In the Windows system, there are hundreds of files designed to be open in a particular program and contain different extensions. But as the number is quite high, it becomes very difficult to remember all file associations. But since Windows has always provided a solution, then this problem also has a quick fix and it's the Assoc command. You can get details about each file type, their extensions, and the program associations.

7. File compare

This command is very useful for those involved in writing and the programming profession. The file comparison command helps you compare the texts of two different files. It tells you the difference between the text of two versions of files. To use this command, simply type fc, path of the directory and then the names of the files you want to compare. Remember not to compare more than two files at a time.

8. Powercfg

If you want to customize the use of your system, the Powercfg command is all you need to have. This command allows you to access the power options provided by Windows. Just type powercfg.cpl and press the Enter key.

9. Tasklist

The list of tasks is the other cmd command that allows you to perform an important function that displays a list of all programs running on your system at that time. But you say that you can also reach it by opening the task manager, then let me tell you that the tasklist command also shows you the tasks that are hidden from the task manager. This hacking command is great in terms of security. Most keyloggers or malware work in the background and remain hidden in the task manager.

Tasklist also provides you with different modifiers such as tasklist -m show you the location of the .dll files of a specific program and a list of tasks – svc provided or details on the services related to the different tasks.

10. Regedit

If you want to access the operating system hierarchy database that is Windows Registry to get details about all the settings and configuration of the operating system and installed programs. Just type Regedit in the command prompt window and click Enter.

11. Taskkill

Taskkill is an excellent command command that helps you kill a particular task. The good thing is that you can even kill the tasks that are hidden from the task manager and those that do not answer, and so on. To kill a taskkick using the Taskkill command, you must type taskkill -s, then type the name of that task and press Enter.

12. driverquery

If you want to get information about each driver installed in your system at a time, you can use the driverquery command for the same. It's a quick and easy way to do the same. In addition, you will not need to check the drivers using a third-party application, as this two-step method is enough to do the wonders.

13. md con

Using this command, you can create non-editable folders. Yes! You read that. Windows allows you to create the indefinite folder that you can not delete directly. To create this file, you must execute a command that is md con in the command prompt. So, to do this, simply type the name of the drive in which you want to create the folder, then type md con . The file will be created at the same moment with the same name.

14. telnet

We need the telnet command when we want to communicate with a remote computer. But telnet is never installed by default and you must install it manually. So, after installing it on your server, you will have to connect to the telnet server, which can only be done by the telnet command.

15. pathping

IPathping is the advanced version of the ping command that allows you to check and troubleshoot problems connecting a site. It is very useful for you if there are several routers connected to your system and the device you want to check. Pathping also provides you with details on package routes that you can get from the ping command.

16. netstat an

If you want to get details about the entire network connecting your system, then netstat is the most useful command that effect. Netstate provides you with many subcommands that can be used for different purposes. And to get the details about the networks, we use the netstat-a command. Therefore, to use this command, type netstate an in the control prompt window of your system and press Enter. It will show you a complete list of networks with their local and foreign IP addresses.

17. sfc / scannow

This command will help you a lot if you have problems with your Windows file system. It scans all files in the Windows file system and checks for a problem or problem in a particular file. If he finds a problem, he will automatically fix this file. So, to use this command, simply run the command prompt window and type SFC / scannow and press Enter.

18. Hide folders from the command prompt

Another Hack command prompt. Yes! You can hide files and folders directly from the command prompt. To hide certain files and folders by using the command prompt, simply type the name of the drive where the folder is located, type attrib -h -s -r, then type the name of the file or folder you want to hide and finally press Enter.

19. powershell

Powershell is a great alternative for the command prompt window. So, if you're bored with your command prompt window and want to meet a different application for the same purpose, PowerShell is there for you. Just open the execution window, enter Powershell, and click Enter. The PowerShell window opens immediately.

20. mrt

Windows allows you to free remove Windows malware. But these programs run in the background and Windows puts them level every month. So, if you want to run this program manually, use the command mrt. Run the command prompt and type mrt then press the Enter key. He will open the program immediately.

21. sysdm.cpl

If you want to quickly open the system properties, instead of searching for it, simply use the sysdm.cpl command in the command prompt that will instantly open the system property window for only a few seconds.

22. lusrmgr.msc

To open and edit the different properties of users and groups, you can simply take the help of lusrmgr.msc. This command opens the local users and the group manager and you can change the properties according to your desire. type lusrmgr.msc in the command prompt window and press the Enter key.

23. perfmon.msc

The Perform.msc command is one of the best commands you can use. This command helps you get details on the performance of your Windows PC. In addition to performance, it will also show how a program affects Windows performance when you run it. It provides enough data about the performance of the Windows system.

Just find the run application, type perfmon.msc and press Enter.

24. appwiz.cpl

Now, it is not necessary to first look for the control panel, then the programs for installing or uninstalling software. The appwiz.cpl command is all you need to know. This command quickly opens the window of programs and features. You can easily install or uninstall a particular program. Just tap appwiz.cpl in the command prompt, and then press Enter. The window of programs and features will be before you.

25. devmgmt.msc

Open the Device Manager directly from the command prompt. In the Device Manager window, you can manage all hardware devices connected to your system. Just open the command prompt, type devmgmt.msc and press Enter.

Sharing is loving!