<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.cliv.es/index.php?action=history&amp;feed=atom&amp;title=10_useful_Windows_command_line_prompts</id>
	<title>10 useful Windows command line prompts - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.cliv.es/index.php?action=history&amp;feed=atom&amp;title=10_useful_Windows_command_line_prompts"/>
	<link rel="alternate" type="text/html" href="https://wiki.cliv.es/index.php?title=10_useful_Windows_command_line_prompts&amp;action=history"/>
	<updated>2026-10-05T07:10:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wiki.cliv.es/index.php?title=10_useful_Windows_command_line_prompts&amp;diff=86&amp;oldid=prev</id>
		<title>WikiSysopadmin: Completed page</title>
		<link rel="alternate" type="text/html" href="https://wiki.cliv.es/index.php?title=10_useful_Windows_command_line_prompts&amp;diff=86&amp;oldid=prev"/>
		<updated>2026-01-05T12:39:59Z</updated>

		<summary type="html">&lt;p&gt;Completed page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
==== Good examples, you know you can use ====&lt;br /&gt;
 logoff &lt;br /&gt;
&lt;br /&gt;
==== to logoff your PC? Or ====&lt;br /&gt;
 Shutdown/s &lt;br /&gt;
&lt;br /&gt;
==== to shutdown your PC? And there&amp;#039;s shutdown ====&lt;br /&gt;
 /r /fw &lt;br /&gt;
&lt;br /&gt;
==== to boot into your BIOS? ====&lt;br /&gt;
&lt;br /&gt;
== Tasklist ==&lt;br /&gt;
 Tasklist&lt;br /&gt;
At any time, you can kill a task with the additional command &amp;#039;&amp;#039;&amp;#039;taskkill /PID PID # here /F&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
My list starts with &amp;#039;&amp;#039;&amp;#039;Tasklist&amp;#039;&amp;#039;&amp;#039;. This is one of the more simple commands you can use in Command Prompts. All it does is function as a text-based version of the Task Manager. It lists every simple running task on your laptop or desktop. The first column gives you the image name (the name of the task), the second one a process ID, the third, a type of session, and the last, the memory usage. To use it, simply type in:&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Chkdsk ==&lt;br /&gt;
Next up is &amp;#039;&amp;#039;&amp;#039;Chkdsk&amp;#039;&amp;#039;&amp;#039;. You&amp;#039;ll need administrator privileges for this command, but I use this command for checking disks for errors. If you feel your PC is running slow or giving you issues, you can use this command to check the disk for file system errors. This was more useful back when HDDs were more common as a primary drive in computers and laptops. Chkdsk will fix issues with the master file table (MFT), bad security descriptors associated with files, or misaligned time stamp or file size information about individual files. You can copy the command below:&lt;br /&gt;
 Chkdsk&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Sfc /scannow ==&lt;br /&gt;
 Sfc /scannow&lt;br /&gt;
My third most used command is &amp;#039;&amp;#039;&amp;#039;Sfc /scannow&amp;#039;&amp;#039;&amp;#039;. This is the system file-checking tool. What this command will do is simply check the integrity of your operating system by checking protected system files. If your PC isn&amp;#039;t working properly, this is one of the first you should try. This command is used when a user might have modified critical system files.&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Diskpart ==&lt;br /&gt;
 diskpart&lt;br /&gt;
Next up is &amp;#039;&amp;#039;&amp;#039;Diskpart&amp;#039;&amp;#039;&amp;#039;. Once you enter Diskpart, you can use &amp;#039;&amp;#039;&amp;#039;List disk&amp;#039;&amp;#039;&amp;#039; you can see every single disk on your PC, and peek at how much storage is used or continue on with disk operations Think of this as a text-based version of the storage page in the Windows 11 settings app. After the intial Diskpaet command, I type out &amp;#039;&amp;#039;&amp;#039;list disk&amp;#039;&amp;#039;&amp;#039; to see a list of all the connected drives to my system. Another useful command is &amp;#039;&amp;#039;&amp;#039;select disk&amp;#039;&amp;#039;&amp;#039; (followed by the disk number) then &amp;#039;&amp;#039;&amp;#039;clean&amp;#039;&amp;#039;&amp;#039; to clean up an attached HDD or SSD to reformat it when the graphical user interface.&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Ver ==&lt;br /&gt;
 Ver&lt;br /&gt;
Need to know the version of Windows you&amp;#039;re running? &amp;#039;&amp;#039;&amp;#039;Ver&amp;#039;&amp;#039;&amp;#039; is a simple command that will list of the operating system version for you. It&amp;#039;s useful if you&amp;#039;re the technical type of person that likes to stay on top of build numbers and Windows releases.&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Systeminfo ==&lt;br /&gt;
 systeminfo&lt;br /&gt;
Related to Ver is &amp;#039;&amp;#039;&amp;#039;Systeminfo&amp;#039;&amp;#039;&amp;#039;. With this command, you can see everything about your system. You&amp;#039;ll see the physical memory, the virtual memory, network cards, Hyper-V status, the manufacturer of your computer, the processor, or even when Windows was first installed. Again, it&amp;#039;s great for technical folks who value sharing this information.&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Ipconfig ==&lt;br /&gt;
 Ipconfig&lt;br /&gt;
Need to know your IP address? &amp;#039;&amp;#039;&amp;#039;Ipconfig&amp;#039;&amp;#039;&amp;#039; is the home for networking tasks on Windows. It lists out networks you might be connected to, subnets, gateways, and other critical networking information. I often use this to grab information about my network adapters, and my router.&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Ping ==&lt;br /&gt;
 ping google.com&lt;br /&gt;
Somewhat related to ipconfig is &amp;#039;&amp;#039;&amp;#039;ping&amp;#039;&amp;#039;&amp;#039;. This is one of the more useful command line prompts should you want to check the connectivity between two hosts. It also will check for lost packets, too. I use it to check for internet connectivity, and the status of websites, but you can ping any computer on any server to test a connection to them by using their IP address.&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Assoc ==&lt;br /&gt;
 Assoc&lt;br /&gt;
Need to check which file type is associated with what extension? That&amp;#039;s what &amp;#039;&amp;#039;&amp;#039;assoc&amp;#039;&amp;#039;&amp;#039; is for. You&amp;#039;ll see a readout of every single file extension that&amp;#039;s being used on your PC. You also can type out the file extension of the end to see what file it&amp;#039;s associated with. In the example below, typing assoc.doc reads out the fact that this is a Microsoft Word document. Or assoc.html read out that this is an HTML file. Pretty basic, but pretty useful, too.&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Help ==&lt;br /&gt;
 Help&lt;br /&gt;
Not sure how to use Command Prompt? That&amp;#039;s what &amp;#039;&amp;#039;&amp;#039;help&amp;#039;&amp;#039;&amp;#039; is for. Once you open the app and type this command, you&amp;#039;ll get a list of the most common commands that you can use on your PC. Many of the ones we&amp;#039;ve mentioned are already there. It&amp;#039;s a great spot for beginners.&lt;/div&gt;</summary>
		<author><name>WikiSysopadmin</name></author>
	</entry>
</feed>