A to Z List of Windows CMD Commands

Microsoft Windows’ Command Prompt is very powerful tool. You can quickly and easily perform a task using CMD commands. But learning all those commands is really 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. Download link is given at the end of the post. There are two download links at the end of the post – First link contains the pdf with basic details of all Windows cmd commands and second link contains the PDF with detailed info about every Windows CMD command.

This post provided basic information about Windows CMD commands. However, if you need more details about any command, type <command name> /? in command prompt and press Enter. For example if you wish to see details about ARP command, type ARP /? in cmd window and press Enter and you will see details about switches used in command and how to use the command. You can also download Windows CMD commands PDF with detailed information about every cmd command at the end of the post.

windows cmd commands pdf

A to Z List of All Windows CMD/DOS Commands:

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
BCDBOOTCreate or repair a system partition
BCDEDITManage Boot Configuration Data
BITSADMINBackground Intelligent Transfer Service
BOOTCFGEdit Windows boot settings
BROWSTATGet domain, browser and PDC info
CACLSChange file permissions
CALLCall one batch program from another•
CERTREQRequest 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, 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
Continue to the list of Windows CMD Commands.
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
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 active directory (user group computer)
DSGetView items in active directory (user group computer)
DSQuerySearch for items in active directory (user group computer)
DSModModify items in active directory (user group computer)
DSMoveMove an Active directory Object
DSRMRemove items from Active Directory
ECHODisplay message on screen•
ENDLOCALEnd localisation 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
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•
GETMACDisplay the Media Access Control (MAC) address
GOTODirect a batch program to jump to a labelled line•
GPRESULTDisplay Resultant Set of Policy information
GPUPDATEUpdate Group Policy settings
HELPOnline Help
HOSTNAMEDisplay the host name of the computer
Continue reading for A to Z list of Windows CMD commands and download cmd commands pdf at the bottom of the post.
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
INUSEReplace files that are in use by the OS
LABELEdit a disk label
LODCTRLoad PerfMon performance counters
LOGMANManage Performance Monitor logs
LOGOFFLog a user off
LOGTIMELog the date and time in a file
MAKECABCreate .CAB files
MAPISENDSend 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)
NETManage network resources
NETDOMDomain Manager
NETSHConfigure Network Interfaces, Windows Firewall & Remote access
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
OPENFILESQuery or display open files
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, 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
PsShutdownShutdown or reboot a computer
PsSuspendSuspend processes
PUSHDSave and then change the current directory•
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)
Check full list of Windows cmd commands.
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)
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
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
VERDisplay version information•
VERIFYVerify that files have been saved•
VOLDisplay a disk label•
W32TMTime Service
WAITFORWait for or send a signal
WEVTUTILClear event logs, 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
WUAUCLTWindows Update
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 CMD window only. All other commands are External commands, which can be run in CMD shell, PowerShell, or directly from Start > Run. You can also download the list of CMD commands in pdf file from down below.

Tech Tip: Get an hassle-free remote access to your windows applications and data from anywhere on your preferred device(PC/mac/android/iOS) with high performance citrix xendesktop with an affordable xendesktop pricing from CloudDesktopOnline powered by one of the leading providers of Office 365 – O365CloudExperts.com.

About Aslam Khan

Hi there, I am a blogger, engineer and a computer geek. I love kittens. I spend some of my time blogging besides full time job as Senior Windows Administrator. I like to learn new things.


  1. Dope staff most especially with with ps commands, have fun controling yo broz PC

  2. Format

  3. nice post

Leave a Reply

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