While you can always use the Windows 11 Settings app or Task Manager for common tasks in Windows, Command Prompt also has some nifty shortcuts.
These days, you can get used to going into Windows 11’s Update program or Task Manager for things like checking your disks and killing unwanted programs. But, before we had a nice user interface on Windows, you had to use the Command Prompt and the command line.
XDA’S VIDEO OF THE NEXT DAY CONTENTS
Even in 2023, the Command Prompt is still essential to the daily use of Windows for many IT administrators and professionals. There are many useful commands that you can use to fix problems with your PC, check the performance of your PC, and manage files and directories. I’ll be looking at my top 10 favorites right now.
My list starts with Tasklist. This is one of the easiest commands you can use in Command Prompts. What it does is work as a kind of Task Manager. It records every simple task that is running on your laptop or computer. The first field gives you the name of the image (the name of the application), the second is the ID, the third, the part type, and the last, the memory usage. To use it, just enter:
At any time, you can kill the job with the additional job command /PID PID # here /F.
Next is Chkdsk. You will need administrator privileges for this command, but I use this command to check for disk errors. If you find that your PC is running slow or giving you problems, you can use this command to check if the disk has errors. This was very useful back in the day when HDDs were very common as primary drives for computers and laptops. Chkdsk will fix problems with the master file table (MFT), bad security descriptors associated with files, or incorrect time stamps or file size information on individual files. You can download the command below:
3 Sfc /scannow
My third command that I use the most is Sfc /scannow. This is a tool for checking system files. What this command will do is check the integrity of your operating system by looking at protected files. If your PC isn’t working properly, this is one of the first things you should try. This command is used when the user changes the required files.
Next is Diskpart. When you enter Diskpart, you can use the List disk you can see any disk on your PC, and check how the storage is used or continue with the disk services. Think of this as a page based on the storage page in Windows. 11 app settings. After the first Diskpaet command, I type disk list to see a list of all drives connected to my system. Another useful command is to select the disk (followed by the disk number) and then clean it to clean the connected HDD or SSD so that it can be reformatted while using the interface.
Want to know what version of Windows you’re running? Ver is a simple command that will list the operating system version for you. It’s useful if you’re the technical type of person who likes to stay on top of build numbers and Windows releases.
6 System info
Related Ver is Systeminfo. With this command, you can see everything about your system. You will see memory, memory, network cards, Hyper-V interface, your computer manufacturer, processor, or even when Windows was first installed. Again, it’s great for tech people who need to share this information.
Want to know your IP address? Ipconfig is the home of the Internet connection service for Windows. Lists the networks you can connect to, subnets, gateways, and other network requirements. I usually use this to get information about my network adapters, and my router.
More about ipconfig and ping. This is one of the most important commands in the command line if you want to see the connection between two hosts. It will also detect lost packets, too. I use it to check the internet connection, and the status of websites, but you can call any computer on any server to try to connect to them using their IP address.
Do you need to check which file type is associated with which extension? That’s what the assoc is for. You will see the readings of every file in use on your PC. You can also type the extension file at the end to see which file is associated with it. In the example below, typing assoc.doc calculates that this is a Microsoft Word document. Or assoc.html read that this is an HTML file. Very important, but useful, too.
Not sure how to use Command Prompt? That’s what help is. When you open the program and type this command, you will get a list of commands that you can use on your PC. Most of the ones mentioned already exist. It is a good place for beginners.
There are many!
Although I chose to highlight 10 of my favorite Command Prompt commands, there are many more that you can use. For example, did you know that you can use logoff to shut down your PC? Or how about Shutdown/s to shut down your PC? And maybe even shutdown / r / fw boot in your BIOS? There are many more rules I could share, but this list should get you started. Tell us what you like!