Loading...
Development

Windows CMD: Essential Daily-Use Commands (Beginner-Friendly)

Windows CMD: Essential Daily-Use Commands (Beginner-Friendly)

Master the Command Prompt for Everyday Tasks


Why Use CMD?

  • Faster than clicking
  • Automate tasks
  • Fix common issues
  • Control your PC like a pro

Open CMD: Press Win + R → type cmdEnter
Run as Admin: Right-click CMD → Run as administrator


CATEGORY 1: SYSTEM INFORMATION

CommandWhat It DoesExample
systeminfoFull PC specs (RAM, OS, CPU)systeminfo
verWindows versionver
hostnameYour PC namehostname
whoamiCurrent usernamewhoami
wmic cpu get nameCPU modelwmic cpu get name
wmic computersystem get totalphysicalmemoryRAM in byteswmic computersystem get totalphysicalmemory

Daily Use: Check if your PC meets software requirements.


CATEGORY 2: FILE & FOLDER MANAGEMENT

CommandPurposeExample
dirList files/foldersdir
dir /aShow hidden filesdir /a
dir /sSearch all subfoldersdir /s *.txt
cd folderChange directorycd Documents
cd ..Go up one foldercd ..
cd \Go to root (C:)cd \
mkdir nameCreate foldermkdir Photos
rmdir nameDelete empty folderrmdir Temp
del file.txtDelete filedel report.txt
copy file destCopy filecopy photo.jpg D:\
move file destMove filemove song.mp3 D:\Music\
ren old newRenameren cat.jpg dog.jpg

Daily Use: Organize files, backup photos, clean desktop.


CATEGORY 3: NETWORK & INTERNET

CommandPurposeExample
ipconfigYour IP, gateway, DNSipconfig
ipconfig /allFull network detailsipconfig /all
ping google.comCheck internetping google.com
tracert google.comSee internet routetracert google.com
nslookup google.comDNS lookupnslookup google.com
netstat -anOpen ports/connectionsnetstat -an
arp -aDevices on your networkarp -a

Daily Use: Fix Wi-Fi, check if printer is connected.


CATEGORY 4: DISK & STORAGE

CommandPurposeExample
chkdsk C:Check disk errorschkdsk C:
chkdsk C: /fFix errors (needs reboot)chkdsk C: /f
defrag C:Optimize HDD (not for SSD)defrag C:
diskpartlist diskManage drivesdiskpart
fsutil fsinfo drivesList all drivesfsutil fsinfo drives
wmic logicaldisk get nameList drive letterswmic logicaldisk get name

Daily Use: Free up space, fix slow USB drives.


CATEGORY 5: PROGRAMS & PROCESSES

CommandPurposeExample
tasklistRunning programstasklist
`tasklistfind "chrome"`Find specific app
taskkill /IM chrome.exe /FForce close apptaskkill /IM notepad.exe /F
start notepadOpen appstart chrome
start .Open current folderstart .

Daily Use: Close frozen apps, open folders fast.


CATEGORY 6: USER & SECURITY

CommandPurposeExample
net userList usersnet user
net user usernameView user detailsnet user john
net user username newpassChange passwordnet user john 12345
net localgroup administratorsAdmin usersnet localgroup administrators
runas /user:admin cmdRun as adminrunas /user:admin cmd

Daily Use: Reset forgotten password, check who has admin rights.


CATEGORY 7: SYSTEM MAINTENANCE

CommandPurposeExample
sfc /scannowFix corrupted system filessfc /scannow
shutdown /s /t 0Shutdown nowshutdown /s /t 0
shutdown /r /t 0Restart nowshutdown /r /t 0
shutdown /hHibernateshutdown /h
powercfg /batteryreportBattery health (laptop)powercfg /batteryreport
cleanmgrDisk cleanup GUIcleanmgr

Daily Use: Speed up slow PC, save battery.


CATEGORY 8: SHORTCUTS & TRICKS

TrickCommandUse
Clear screenclsClean CMD
Copy output`commandclip`
Repeat last command arrow keyFast retry
Auto-completeTabType cd DocTab
HistoryF7See past commands
Run multiple&&dir && echo Done

DAILY LIFE SCENARIOS (REAL EXAMPLES)

TaskCMD Command
Find large files`dir /s /b
Backup folder to USBxcopy C:\Photos E:\Backup /s /e /h /i
Open Downloads folderstart %userprofile%\Downloads
Check Wi-Fi passwordnetsh wlan show profile name="WiFiName" key=clear
Kill all Chrometaskkill /IM chrome.exe /F
Create daily backuprobocopy C:\Work D:\Backup /MIR

QUICK CHEAT SHEET (Copy-Paste)

:: SYSTEM
systeminfo
ver
hostname
whoami

:: FILES
dir
cd Documents
mkdir NewFolder
copy file.txt D:\
del temp.txt

:: NETWORK
ipconfig
ping 8.8.8.8
tracert google.com
netstat -an

:: PROGRAMS
tasklist
taskkill /IM notepad.exe /F
start chrome

:: CLEANUP
sfc /scannow
cleanmgr
powercfg /batteryreport

:: SHUTDOWN
shutdown /r /t 0

PRACTICE DAILY (5-Minute Challenge)

DayTask
Monipconfig → Screenshot your IP
Tuedir C:\ > files.txt → Save file list
Wedping google.com → Check internet
Thutasklist > apps.txt → See running apps
Frisfc /scannow → Fix system

NEXT STEPS

LevelLearn
BeginnerDone! You’re ready
IntermediatePowerShell Basics
AdvancedBatch Scripting

You now control Windows with CMD!
Save this page — your daily CMD reference.

Want PDF version or printable cheat sheet? Just say!

Keep practicing — 1 command per day = Pro in 30 days!