A-Z List of Windows CMD Commands (PDF Download)

You can quickly and easily perform a task using CMD commands. But learning all those commands is a tough task itself. So, we have compiled the list of all Windows CMD commands arranged alphabetically. You can also download Windows CMD commands PDF file. The download link is provided at the end of the post.

We have shared two download links at the end of the post. The first link contains the pdf with basic details of all Windows CMD commands. At the same time, the second link contains the PDF with detailed info about every Windows CMD command.

How to Get Help for any Command in Command Prompt

This post provided basic information about Windows CMD commands. However, if you also need more details, simply type <command name> /? in the command prompt and press Enter.

For example, to get help for the ARP command, type ARP /? in the CMD window and press Enter. You will see details about switches used in the command and how to use the command. You can also download the Windows CMD commands PDF at the end of the post. This PDF document has detailed information about every cmd command.

Cmd Commands Pdf Download Command Prompt Help
Get Help in Command Prompt

List of All Windows CMD Commands – PDF Download

Here, we have grouped the commands alphabetically. We have done this to make it easy for you to find the command you are looking for. So, let’s begin.

Commands Starting with A

ADDUSERSAdd or list users to/from a CSV file.
ADmodcmdActive Directory Bulk Modify
ARPAddress Resolution Protocol
ASSOCChange file extension associations•
ASSOCIATOne-step file association.
ATSchedule a command to run at a specific time
ATTRIBChange file attributes.

Commands Starting with B

BCDBOOTCreate or repair a system partition.
BCDEDITManage Boot Configuration Data
BITSADMINBackground Intelligent Transfer Service
BOOTCFGEdit Windows boot settings
BROWSTATGet domain, browser, and PDC info.

Windows CMD Commands Starting with C

CACLSChange file permissions
CALLCall one batch program from another•
CERTREQRequest a certificate from a certification authority.
CERTUTILUtility for certification authority (CA) files and services.
CDChange Directory – move to a specific Folder•
CHANGEChange Terminal Server Session properties.
CHKDSKCheck Disk – check and repair disk problems.
CHKNTFSCheck the NTFS file system
CHOICEAccept keyboard input to a batch file
CIPHEREncrypt or Decrypt files/folders
CleanMgrAutomated cleanup of Temp files, and recycle bin.
CLIPCopy STDIN to the Windows clipboard
CLSClear the screen•
CMDStart a new CMD shell
CMDKEYManage stored usernames/passwords
COLORChange colors of the CMD window•
COMPCompare the contents of two files or sets of files.
COMPACTCompress files or folders on an NTFS partition.
COMPRESSCompress one or more files
CONVERTConvert a FAT drive to NTFS
COPYCopy one or more files to another location•
CoreinfoShow the mapping between logical & physical processors.
CSCcmdClient-side caching (Offline Files)
CSVDEImport or Export Active Directory data

List of Commands Starting with D

DATEDisplay or set the date•
DEFRAGDefragment hard drive
DELDelete one or more files•
DELPROFDelete user profiles
DELTREEDelete a folder and all subfolders
DevConDevice Manager Command Line Utility.
DIRDisplay a list of files and folders•
DIRQUOTAFile Server Resource Manager Disk quotas
DIRUSEDisplay disk usage
DISKPARTDisk Administration. You can use it to format your corrupt USB disk.
DISKSHADOWVolume Shadow Copy Service
DISKUSEShow the space used in folders.
DOSKEYEdit command line, recall commands, and create macros.
DriverQueryDisplay installed device drivers
DSACLsActive Directory ACLs.
DSAddAdd items to the active directory (user group computer)
DSGetView items in the active directory (user group computer).
DSQuerySearch for items in the active directory (user group computer).
DSModModify items in the active directory (user group computer)
DSMoveMove an Active Directory Object
DSRMRemove items from Active Directory.

List of Commands Starting with E

ECHODisplay message on screen•
ENDLOCALEnd localization of environment changes in a batch file•
ERASEDelete one or more files•
EVENTCREATEAdd a message to the Windows event log.
EXITQuit the current script/routine and set an error level•
EXPANDUncompress CAB files
EXTRACTUncompress CAB files.

List of Commands Starting with F

FCCompare two files
FINDSearch for a text string in a file
FINDSTRSearch for strings in files.
FOR /FLoop command: against a set of files•
FOR /FLoop command: against the results of another command•
FORLoop command: all options Files, Directory, List•
FORFILESBatch process multiple files.
FORMATFormat a disk
FREEDISKCheck free disk space
FSUTILFile and Volume utilities
FTPFile Transfer Protocol.
FTYPEFile extension file type associations•

List of Commands Starting with G

GETMACDisplay the Media Access Control (MAC) address
GOTODirect a batch program to jump to a labeled line•
GPRESULTDisplay Resultant Set of Policy information
GPUPDATEUpdate Group Policy settings.

List of Commands Starting with H

HELPOnline Help
HOSTNAMEDisplay the hostname of the computer

INFO: The download link for CMD commands pdf is provided at the end of the post. You can download a-to-z list of CMD commands from there.


All CMD Commands Starting with I

iCACLSChange file and folder permissions
IEXPRESSCreate a self-extracting ZIP file archive.
IFConditionally perform a command•
IFMEMBERIs the current user a member of a group
IPCONFIGConfigure IP
INUSEReplace files that are in use by the OS.

All CMD Commands Starting with L

LABELEdit a disk label
LODCTRLoad PerfMon performance counters
LOGMANManage Performance Monitor logs
LOGOFFLog a user off
LOGTIMELog the date and time in a file.

All CMD Commands Starting with M

MAKECABCreate .CAB files
MAPISENDSend an email from the command line
MBSAcliBaseline Security Analyzer
MEMDisplay memory usage.
MDCreate new folders
MKLINKCreate a symbolic link (linkd) •
MODEConfigure a system device COM/LPT/CON
MOREDisplay output, one screen at a time
MOUNTVOLManage a volume mount point
MOVEMove files from one folder to another •
MOVEUSERMove a user from one domain to another
MSGSend a message
MSIEXECMicrosoft Windows Installer
MSINFO32System Information
MSTSCTerminal Server Connection (Remote Desktop Protocol).

All CMD Commands Starting with N

NETManage network resources
NETDOMDomain Manager
NETSHConfigure Network Interfaces, Windows Firewall, and remote access. You can also use this command to view saved Wifi passwords on Windows.
NBTSTATDisplay networking statistics (NetBIOS over TCP/IP)
NETSTATDisplay networking statistics (TCP/IP)
NLSINFODisplay locale information (reskit).
NLTESTNetwork Location Test (AD)
NOWDisplay the current Date and Time
NSLOOKUPName server lookup
NTBACKUPBackup folders to tape
NTDSUtilActive Directory Domain Services management.
NTRIGHTSEdit user account rights
NVSPBINDModify network bindings

All CMD Commands Starting with O

OPENFILESQuery or display open files

List of all CMD Commands Starting with P

PATHDisplay or set a search path for executable files •
PATHPINGTrace route plus network latency and packet loss.
PAUSESuspend processing of a batch file and display a message •
PERMSShow permissions for a user
PERFMONPerformance Monitor
PINGTest a network connection.
POPDReturn to a previous directory saved by PUSHD•
PORTQRYDisplay the status of ports and services
POWERCFGConfigure power settings
PRINTPrint a text file.
PRINTBRMPrint queue Backup/Recovery
PRNCNFGConfigure or rename a printer
PRNMNGRAdd, delete, and list printers and printer connections
ProcDumpMonitor an application for CPU spikes.
PROMPTChange the command prompt•
PsExecExecute process remotely
PsFileShow files opened remotely
PsGetSidDisplay the SID of a computer or a user.
PsInfoList information about a system
PsKillKill processes by name or process ID
PsListList detailed information about processes
PsLoggedOnWho’s logged on (locally or via resource sharing)?
PsLogListEvent log records
PsPasswdChange account password
PsPingMeasure network performance
PsServiceView and control services
PsShutdownShut down or reboot a computer.
PsSuspendSuspend processes
PUSHDSave and then change the current directory•

List of all CMD Commands Starting with Q

QGREPSearch file(s) for lines that match a given pattern.
Query Process / QPROCESSDisplay processes
Query Session / QWinstaDisplay all sessions (TS/Remote Desktop)
Query TermServer /QAppSrvList all servers (TS/Remote Desktop).
Query User / QUSERDisplay user sessions (TS/Remote Desktop)

All CMD Commands Starting with R

RASDIALManage RAS connections
RASPHONEManage RAS connections
RECOVERRecover a damaged file from a defective disk.
REGRegistry: Read, Set, Export, Delete keys and values
REGEDITImport or export registry settings
REGSVR32Register or unregister a DLL.
REGINIChange Registry Permissions
REMRecord comments (remarks) in a batch file•
RENRename a file or files•
REPLACEReplace or update one file with another.
Reset SessionDelete a Remote Desktop Session
RDDelete folder(s)•
RMTSHAREShare a folder or a printer
ROBOCOPYRobust File and Folder Copy.
ROUTEManipulate network routing tables
RUNStart | RUN commands.
RUNASExecute a program under a different user account
RUNDLL32Run a DLL command (add/remove print connections).

All CMD Commands Starting with S

SCService Control
SCHTASKSSchedule a command to run at a specific time.
SETDisplay, set, or remove session environment variables•
SETLOCALControl the visibility of environment variables•
SetSPNEdit Service Principal Names.
SETXSet environment variables
SFCSystem File Checker
SHAREList or edit a file share or print share.
ShellRunAsRun a command under a different user account
SHIFTShift the position of batch file parameters•
SHORTCUTCreate a Windows shortcut (.LNK file).
SHUTDOWNShutdown the computer
SLEEPWait for x seconds
SLMGRSoftware Licensing Management (Vista/2008).
SORTSort input
STARTStart a program, command, or batch file•
STRINGSSearch for ANSI and UNICODE strings in binary files.
SUBINACLEdit file and folder Permissions, Ownership, and Domain
SUBSTAssociate a path with a drive letter
SYSMONMonitor and log system activity to the Windows event log
SYSTEMINFOList system configuration.

All CMD Commands Starting with T

TAKEOWNTake ownership of a file
TASKLISTList running applications and services.
TASKKILLEnd a running process
TELNETCommunicate with another host using the TELNET protocol.
TIMEDisplay or set the system time•
TIMEOUTDelay processing of a batch file.
TITLESet the window title for a CMD.EXE session•
TLISTTask list with full path
TOUCHChange file timestamps.
TRACERTTrace route to a remote host
TREEGraphical display of folder structure.
TSDISCONDisconnect a Remote Desktop Session
TSKILLEnd a running process
TSSHUTDNRemotely shut down or reboot a terminal server.
TYPEDisplay the contents of a text file•
TypePerfWrite performance data to a log file
TZUTILTime Zone Utility.

The List of All CMD Commands Starting with V

VERDisplay version information•
VERIFYVerify that files have been saved•
VOLDisplay a disk label•

The List of All CMD Commands Starting with W

W32TMTime Service.
WAITFORWait for or send a signal
WEVTUTILClear event logs, and enable/disable/query logs.
WHERELocate and display files in a directory tree
WHOAMIOutput the current Username and domain.
WINDIFFCompare the contents of two files or sets of files
WINRMWindows Remote Management.
WINRSWindows Remote Shell
WMICWMI Commands (you can uninstall programs using this command)
WUAUCLTWindows Update command utility to sync with the update server.

The List of All CMD Commands Starting with X

XCACLSChange file and folder permissions.
XCOPYCopy files and folders
::Comment / Remark•

The commands that are marked with • are Internal commands i.e. these can be run in the CMD window only. All other commands are External commands, which can be run in the CMD shell, PowerShell, or directly from Start > RUN. You can also download the list of CMD commands in a pdf file from down below.


Download Windows CMD Commands PDF


Download All Windows CMD Commands in PDF Format

In this post we have shared the list of all Windows CMD commands arranged alphabetically from A to Z. It was not possible to provide detailed information about each command in this post. So, you can get help directly from the command prompt. Just type /? after the command and press Enter. Or you can consult the detailed PDF file linked above.

Hope you liked this article. You may comment your thoughts and ideas below about this article and command prompt. You can get the latest posts by email by subscribing to our newsletter.

Editorial Staff

Hi there, we are the editorial staff at WINDOSPC (former HELLPC). We are a team of funny and technical people. Feel free to get in touch with us via Contact-Us page.

5 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.