cmd.exe is the operating program for the Command Prompt in the Windows system. After opening it, you can quickly launch various programs by entering commands.
01
Why Learn Windows Commands?
Many Windows users rely solely on the graphical user interface (GUI) to perform tasks, but there are situations where the Command Prompt and PowerShell can be lifesavers. Learning these commands can save you time and effort, especially when troubleshooting, automating tasks, or managing system resources.
02
Basic Command Prompt Commands
Ping 222.170.32.158 -t – Test network status
cmd — ipconfig — View local IP
cmd dos — Command line
sfc /scannow — Scan all protected system files immediately.
sfc /scanonce — Scan all protected system files next time you start.
sfc /scanboot — Scan all protected system files every time you start.
sfc /reuert — Return the scan to default settings.
sfc /purgecache — Clear file cache.
sfc /cachesize=x — Set the file cache size.
gpedit.msc — Group Policy
sndrec32 — Sound Recorder
Nslookup — IP Address Detector
explorer — Open File Explorer
logoff — Log off command
tsshutdn — 60-second countdown shutdown command
lusrmgr.msc — Local Users and Groups
services.msc — Local Service Settings
oobe/msoobe /a — Check if XP is activated
notepad — Open Notepad
cleanmgr — Disk Cleanup
compmgmt.msc — Computer Management
net start messenger — Start Messenger service
net stop messenger — Stop Messenger service
conf — Start NetMeeting
dvdplay — DVD Player
charmap — Start Character Map
diskmgmt.msc — Disk Management Utility
calc — Start Calculator
dfrg.msc — Disk Defragmenter
chkdsk.exe — Chkdsk Disk Check
devmgmt.msc — Device Manager
regsvr32 /u *.dll — Stop dll file from running
drwtsn32 — System Doctor
rononce -p — 15-second shutdown
dxdiag — Check DirectX information Diagnostic tool
regedt32 — Registry Editor
Msconfig — System Configuration Utility
rsop.msc — Group Policy Results Set
mem.exe – Display memory usage
msinfo32 – System information
regedit – Registry Editor
winchat – Built-in LAN chat for XP
progman – Program Manager
winmsd – System Information
perfmon.msc – Computer Performance Monitoring Program
winver – Check Windows version
sfc /scannow – Scan for errors and restore
taskmgr – Task Manager (2000/XP/2003)
sysedit – System Configuration Editor
%temp% – Open temporary folder for deletion
Rundll32 netplwiz.dll,UsersRunDll – Change or add usernames
utilman – Accessibility Utility Manager
wiaacmgr – Scanner and Camera Wizard
write – WordPad
wmimgmt.msc – Open Windows Management Infrastructure (WMI)
wscript – Windows Script Host settings
wupdmgr – Windows Update program