70+ Essential Windows CMD Commands
File and Directory Commands
:: Basic: List all files with details
dir /a
:: Advanced: Find specific file types recursively
dir *.txt /s /p:: Basic: Navigate to a folder
cd C:\Users
:: Advanced: Switch to path with spaces
cd "C:\Program Files (x86)":: Basic: Create a single folder
mkdir Data
:: Advanced: Create nested folders
mkdir Parent\Child\Grandchild:: Basic: Remove empty folder
rmdir Data
:: Advanced: Delete non-empty folder
rmdir /s /q DataSystem Information Commands
Network Commands
Disk and Drive Commands
Task and Process Management Commands
User and Security Commands
Power and Shutdown Commands
Windows Troubleshooting Commands
Advanced and Miscellaneous Commands
CMD Scripting and Batch Commands
Bonus Useful Commands
Last updated