dirLists files and directories in the current directory
cd [directory]Changes the current directory
mkdir [directory]Creates a new directory
rmdir [directory]Removes an empty directory
rd /s /q [directory]Removes a directory and its contents (use with caution!)
copy [source] [destination]Copies files or directories
xcopy [source] [destination] /e /h /yCopies files and directories, including hidden and system files (use with caution!)
move [source] [destination]Moves or renames files or directories
del [file]Deletes a file
del /f /q [file]Deletes a file forcefully (use with caution!)
del /f /q /s [directory]Deletes all files and subdirectories within a directory (use with caution!)
type [file]Displays the content of a text file
more [file]Displays the content of a text file page by page
findstr "[text]" [file]Searches for a specific text string within a file
ipconfigDisplays network configuration information
ipconfig /allShows detailed network adapter info
ipconfig /releaseReleases the IPv4 address for all adapters
ipconfig /renewRenews the IPv4 address for all adapters
netsh interface ip show configDisplays IP configuration details
ping <hostname or IP>Checks network connectivity
tracert <hostname or IP>Traces the route to a remote host
pathping <hostname or IP>Combines ping & tracert for route analysis
netstat -anoShows active connections & listening ports (with PID)
route printDisplays the IP routing table
route add <IP> mask <subnet> <gateway>Adds a static route
systeminfoDisplays system information
tasklistLists running processes
taskkill /PID [processID]Terminates a process
sfc /scannowScans and repairs system files
shutdown /s /t 0Shuts down the computer immediately
shutdown /r /t 0Restarts the computer immediately
shutdown /hPuts the computer into hibernation
powercfg /hibernate onEnables hibernation
powercfg /hibernate offDisables hibernation
chkdsk [drive]: /f /rChecks and repairs disk errors
defrag [drive]:Defragments a hard drive
format [drive]: /qFormats a hard drive quickly (use with caution!)
attrib +h [file]Sets the hidden attribute for a file
attrib -h [file]Removes the hidden attribute for a file
echo [text] > [file]Writes text to a file
echo %date% > date.txtWrites the current date to a file
echo %time% > time.txtWrites the current time to a file
setx [variable] [value]Creates or modifies an environment variable
regeditOpens the Registry Editor
whoamiDisplays the current user name
net userDisplays user accounts
net localgroup administratorsDisplays members of the administrators group
net shareDisplays shared resources
net useDisplays network connections
netstat -aDisplays all active connections and ports
arp -aDisplays the ARP cache
nslookup [hostname or IP]Performs a DNS lookup
ipconfig /flushdnsFlushes the DNS resolver cache
wmic process list briefLists running processes (more detailed than tasklist)
wmic useraccount get nameLists user accounts
robocopy [source] [destination] /mirMirrors a directory structure (use with caution!)
cacls [file or directory]Displays or modifies access control lists
icacls [file or directory]Displays or modifies access control lists (more advanced than cacls)
takeown /f [file or directory]Takes ownership of a file or directory
vssadmin list shadowsLists volume shadow copies
diskpartOpens the DiskPart utility for managing disks and partitions
msinfo32Opens the System Information utility
eventvwrOpens the Event Viewer
perfmonOpens the Performance Monitor
services.mscOpens the Services utility
compmgmt.mscOpens the Computer Management utility
diskmgmt.mscOpens the Disk Management utility
devmgmt.mscOpens the Device Manager
controlOpens the Control Panel
control keyboardOpens the Keyboard settings
control mouseOpens the Mouse settings
control printersOpens the Printers settings
control userpasswords2Opens the User Accounts settings
control timedate.cplOpens the Date and Time settings
control powercfg.cplOpens the Power Options settings
control displayOpens the Display settings
control soundsOpens the Sounds settings
control networkOpens the Network and Sharing Center
control appwiz.cplOpens the Programs and Features settings
control main.cplOpens the System settings
control sysdm.cplOpens the System Properties settings
control intl.cplOpens the Region and Language settings
control accessibilitycpl.cplOpens the Ease of Access settings
control bitlocker.cplOpens the BitLocker Drive Encryption settings
control hdwwiz.cplOpens the Add Hardware Wizard
control mmsys.cplOpens the Sound settings
control desk.cplOpens the Display settings
control joy.cplOpens the Game Controllers settings
control fontsOpens the Fonts settings
control colorcpl.cplOpens the Display settings
control main.cplOpens the System settings
control userpasswords2Opens the User Accounts settings
control timedate.cplOpens the Date and Time settings
control powercfg.cplOpens the Power Options settings
control displayOpens the Display settings
control soundsOpens the Sounds settings
control networkOpens the Network and Sharing Center
control appwiz.cplOpens the Programs and Features settings
control main.cplOpens the System settings
control sysdm.cplOpens the System Properties settings
control intl.cplOpens the Region and Language settings
control accessibilitycpl.cplOpens the Ease of Access settings
control bitlocker.cplOpens the BitLocker Drive Encryption settings
control hdwwiz.cplOpens the Add Hardware Wizard
control mmsys.cplOpens the Sound settings
control desk.cplOpens the Display settings
control joy.cplOpens the Game Controllers settings
control fontsOpens the Fonts settings
control colorcpl.cplOpens the Display settings