Explore the most useful Command Prompt (CMD) commands for Windows.
Learn how to use CMD for file management, network diagnostics, troubleshooting, and system control. Perfect for beginners and advanced users.
Command Prompt Commands
1: Check the directory.
Command: dir
2: Create a folder.
Command: mkdir folder name
3: Remove the folder.
Command: rmdir
4: Clear the command prompt.
Command: cls
5: Check the computer system information.
Command: systeminfo
6: Reset or Format your Pc.
Command: systemreset –factoryreset
7: Delete all the Temp files to clear the space.
Command: del/q/f/s %temp%\*
8: Resolving the DNS into IP Address.
Command: nslookup
9: Check your Pc IP Address and all the net details.
Command: ipconfig/all
10: Check the any website IP Address.
Command: ping walikhankakar.com
11: Hide any folder in the Pc.
Command: attrib +h +s +r folder name
12: Unhide the Hidden folder.
Command: attrib -h -s -r folder name
13: Show all the installed programs in the Computer.
Command: wmic product get name
14: Know about all the installed drivers.
Command: driverquery
15: Information about your system.
Command: systeminfo
16: Change the Command Prompt text color help.
Command: help color
17: Change the Command Prompt text color
Command: color 2
18: Displays the directory paths and (Optionally) files in each subdirectory.
Command: tree
19: Copy the result of the Command Prompt Commands.
Command: help color | clip
20: Show the ARP table.
Command: ARP -A
21: Show all the connections.
Command: NETSTAT -AN
22: Check the Windows version.
Command: ver
23: Clean any drive of your Pc.
Command: cleanmgr
24: Change the title of the CMD Windows.
Command: title walikhankakar
25: Display the route path between your computer to website.
Command: tracert www.walikhankakar.com
26: Show all the CMD. Command: help