0% found this document useful (0 votes)
6 views

CMD Commands Book

This document is a comprehensive guide to Windows CMD commands, categorized into sections such as Basic Commands, Networking Commands, and Advanced Commands. Each command is listed with its description, providing users with essential tools for navigating, troubleshooting, and optimizing their Windows systems. The guide serves as a valuable resource for both beginners and advanced users looking to enhance their command line skills.

Uploaded by

mujahidmoon10
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

CMD Commands Book

This document is a comprehensive guide to Windows CMD commands, categorized into sections such as Basic Commands, Networking Commands, and Advanced Commands. Each command is listed with its description, providing users with essential tools for navigating, troubleshooting, and optimizing their Windows systems. The guide serves as a valuable resource for both beginners and advanced users looking to enhance their command line skills.

Uploaded by

mujahidmoon10
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Complete CMD Commands Guide

A Comprehensive List of Windows CMD Commands

This guide includes a complete list of CMD commands along with their descriptions. Use these

commands to navigate, troubleshoot, and optimize your Windows system.

Created by ChatGPT
Table of Contents

1. Basic Commands
2. Networking Commands
3. System Information
4. File & Folder Management
5. Task & Process Management
6. Security & User Management
7. Advanced Commands
Basic Commands

dir
Lists files and directories in the current directory.
cd [folder]
Changes the directory.
cd ..
Moves up one directory level.
cls
Clears the screen.
exit
Closes the Command Prompt.
mkdir [folder]
Creates a new directory.
rmdir [folder]
Removes a directory.
del [file]
Deletes a file.
copy [source] [destination]
Copies a file.
move [source] [destination]
Moves a file.
Networking Commands

ipconfig
Displays network information.
ping [website]
Tests network connectivity.
netstat -an
Displays active network connections.
tracert [website]
Traces the route packets take to a host.
nslookup [website]
Finds the IP address of a domain.
netsh wlan show profiles
Shows saved Wi-Fi profiles.
netsh wlan show profile [WiFi-name] key=clear
Shows the saved Wi-Fi password.
arp -a
Shows the ARP table (IP-to-MAC mapping).
System Information

systeminfo
Shows system details.
wmic cpu get name
Displays CPU information.
wmic bios get serialnumber
Retrieves BIOS serial number.
dxdiag
Opens the DirectX Diagnostic Tool.
msinfo32
Opens the System Information tool.
hostname
Shows the computer name.
echo %username%
Displays the current username.
echo %computername%
Shows the computer name.
File & Folder Management

attrib +h +s [file/folder]
Hides a file or folder.
tree
Displays folder structure.
ren [oldname] [newname]
Renames a file or folder.
xcopy [source] [destination] /s /e
Copies all files & subdirectories.
robocopy [source] [destination] /E
Copies files & folders with advanced options.
cipher /e [file/folder]
Encrypts a file or folder.
cipher /d [file/folder]
Decrypts a file or folder.
Task & Process Management

tasklist
Shows running processes.
taskkill /IM [process] /F
Forces a process to stop.
wmic process list
Lists all running processes in detail.
shutdown /s /t 0
Shuts down the computer immediately.
shutdown /r /t 0
Restarts the computer immediately.
shutdown /a
Cancels a scheduled shutdown.
Security & User Management

net user
Lists all user accounts.
net localgroup Administrators
Lists users in the 'Administrators' group.
net user [username] /delete
Deletes a user account.
secedit /analyze
Analyzes system security settings.
gpupdate /force
Updates Group Policy settings.
Advanced Commands

bcdedit
Manages boot configuration data.
regedit
Opens the Windows Registry Editor.
diskpart
Opens disk partition management.
chkdsk C: /f /r /x
Checks and repairs drive C.
schtasks /query
Shows scheduled tasks.
driverquery
Lists installed drivers.
netsh advfirewall show currentprofile
Displays firewall settings.

You might also like