A to Z CMD Command list [2020-21]of Windows

Sharing is caring!

If you are an expert in programming and knows well the programming language. And always used to open an application or any setting of windows computer through the CMD (commonly used to mean “command”). So Today now I am gonna share this post for you as well as those who are interested to learn how to use CMD Commands in the Windows Computer and want to learn its commands.

And at the End of this Post viewers can also download the PDF file of A to Z CMD Command list to learn for both newcomers and professionals experts.

So let us start here is the list of CMD commands list of Windows sorted alphabetically.

Mostly we have seen that Command Prompt and CMD Commands always a difficult task for most of the windows users.

Basically, they know that black screens always using for troubleshooting the computer system with some common and trending commands.

May you know? Linux is also open-source software operating systems which work like windows operating system but Linux work on commands if you are user of Linux then you would know On the Linux how commands work different tasks an appropriate manners that are the reason most users unlinks the Linux and the same manner Windows is a user-friendly operating system on this platform users don’t require to run CMD commands for all task which they do at the same time.

Why do users think about Command Prompt that it’s always used for troubleshooting?

As we have talked in the above paragraph that in most cases users open the Command Prompt just for repair the Computer system such as the need to repair a corrupted disk, files or hide certain drives and to create a hacking-like environment and so on.

What is Command Prompt and CMD Commands?

Mostly user known as Command Prompt as cmd.exe or cmd – Command prompt is a command-line interpreter application available in most Windows operating systems.

Execute specific set entered commands instructions given to Command Prompt to perform different types of tasks in your Windows operating system.

You know that most windows users use CMD Commands for automating tasks via scripts and batch files, to perform advanced administrative functions or troubleshoot and resolve some kinds of technical issues related to windows which as easily resolve with MCD without waste of time.

So let’s take a look at the A-Z list of Windows CMD commands and which kinds of tasks it’ll perform. With these commands, you can also use do some exciting hacks through Windows systems. Which we will the list soon.

How to open and Access the Command Prompt?

There are three ways of run Command Prompt program

  • First, simply type on Start Menu search bar cmd.
  • And second, you can open the RUN utility through CTRL+R t, type cmd, and push Enter.
  • Keep in mind in Windows 8; you can access Command Promote by shortcut which located in the Start menu on the App Screen.

A to Z Lists of Windows CMD Commands:

A to Z CMD Command list of Windows

CMD Commands                    Function

Alphabet A
addusers Used to add and list users in a CSV file
admodcmd Used for bulk modifying contents in an active directory
admodcmd Address Resolution Protocol is used to map IP address to the hardware address
assoc Used to change associations for file extensions
associat One step file association
at Run a command at a specific time
atmadm Display connection info of the ATM adapter
attrib Used to change file attributes
Alphabet B
bcdboot Used to create and repair a system partition
bcdedit Used to manage boot configuration data
bitsadmin Used to manage the Background Intelligent Transfer Service
bootcfg Used to edit boot configuration in Windows
break Enable/Disable break capability (CTRL+C) in CMD
Alphabet C
cacls Used to change permissions of files
call Used one batch program to call another
certreq Used to request a certificate from a certification authority
certutil Manage Certification Authority files and services
cd Used to change folder (directory) or go to a specific one
change Used to change terminal services
chcp Displays the number of active console code page
chdir Same as cd command
chkdsk Used to check and repair issues in the disk
chkntfs Used to check the NTFS file system
choice Accept user input (via keyboard) to a batch file
cipher Used to encrypt/decrypt files and folder
cleanmgr Used clean temp files and recycle bin automatically
clip Copy result of any command (stdin) to Windows clipboard
cls Clear CMD screen
cmd Used to start a new CMD shell
cmdkey Used to manage stored usernames and passwords
cmstp Used to install or remove a connection manager service profile
color Change the color of the CMD shell using options
comp Compare contents of two files or two sets of files
compact Compress files and folders on an NTFS partition
compress Compress one or more files
convert Convert a FAT partition to NTFS
copy Copy one or more files to another location
coreinfo Show the mapping between logical and physical processors
cprofile Cleans specified profiles of wasted space and disabled user-specific file associations
cscmd Configure offline files on a client computer
csvde Import or Export the data of an active directory
Alphabet D
date Used to display the date or change it
defrag Used to defragment system hard drive
del Used to delete a file(s)
delprof Used to delete user profile(s)
deltree Used to delete a folder and its sub-folders
devcon Access the command line device manager utility
dir Used to display files and folders list
dirquota Manage File Server Resource Manager quotas
diruse Used to display disk usage
diskcomp Compare contents of two floppy disks
diskcopy Copy data of one floppy disk to another
diskpart Make changes to partitions of storage, both internal and connected
diskshadow Access the Disk Shadow Copy Service
diskuse View used space in folder(s)
doskey Used to edit command line, recall commands, and create macros
driverquery Display a list of installed device drivers
dsacls View and edit access control entries for objects in active directory
dsadd Used to add objects to active directory
dsget View objects in active directory
dsquery Find objects in an active directory
dsmod Used to modify objects in an active directory
dsmove Rename or move an active directory object.
dsrm Remove objects from an active directory
dsmgmt Manage Active Directory Lightweight Directory Services
Alphabet E
echo Turn command-echoing feature on/off, display a message on the screen
endlocal End localization environment changes in a batch file
erase Used to delete on or more file(s)
eventcreate Add custom event to Windows event log (Admin rights required)
eventquerry Display list of events and their properties from event logs
eventtriggers Display and configure event triggers on local and remote machines
exit Exit the command line (Quit current batch script)
expand Uncompress one or more .CAB file(s)
explorer Open Windows Explorer
extract Uncompress one or more Windows cabinet file(s)
Alphabet F
fc Used to compare two files
find Used to search a specified text string in a file
findstr Used to find string patterns in files
finger Display information about user(s) on a specified remote computer
flattemp Used to enable/disable flat temporary folders
For Run a command in a loop for a file(s) for defined parameter
forfiles Used for batch processing of selected file(s)
format Used to format a disk
fsutil File system utility to manage file and drive properties
freedisk Used to check free space on a disk
ftp Use FTP service to transfer files from one PC to another
ftype Display/ Modify file extension type associations
Alphabet G
getmac Used to display the MAC address of your network adapter
graftabl Turn on the ability to display an extended character in graphics mode
gpupdate Update local and active directory based on group policy settings
gpresult Display Group Policy Settings and Resultant Set of Policy for a user
goto Used to direct a batch program to a line identified by a label
Alphabet H
help Display a list of commands and see online information for them
hostname Used to display host name of the computer
Alphabet I
icacls Used to change permissions of files and folders
iexpress Used to create a self-extracting zip archive
if Used for conditional processing in batch programs
ifmember Display the group(s) an active user belongs to
inuse Replace the files which the OS is currently using (restart required)
ipconfig Display and change Windows IP configuration
ipseccmd Used to configure IP Security policies
ipxroute Display and modify routing table information used by IPX protocol
irftp Used to send files over an infrared link (infrared functionality required)
Alphabet L
label Used to change the name of a disk
lodctr Update registry values with latest performance counters
logman Used to manage performance monitor logs
logoff Log a user off
logtime Add the date, time, and a message to a text file
lpq Displays print queue status
lpr Used to send a file to a computer running the Line Printer Daemon service
Alphabet M
macfile Manage files server for Mackintosh
makecab Used to create .cab files
mapisend Used to send email from command line
mbsacli Microsoft Baseline Security Analyser
mem Used to show memory usage
md Used to create directories and sub-directories
mkdir Used to create directories and sub-directories
mklink Used to create symbolic link to a directory
mmc Access Microsoft Management Console
mode Configure COM, LPT, CON system devices
more Display one screen of output at time
mountvol Create, list, or delete a volume mount point
move Used to move files from one folder to another
moveuser Move user account to a domain or between machines
msg Used to send a pop-up message to a user
msiexec Install, modify, configure using Windows Installer
msinfo32 Display system information
mstsc Create a remote desktop connection
Alphabet N
nbstat Display NetBIOS over TCP/IP information
net Used to manage network resources and services
netdom Network Domain Manager utility
netsh Display or modify network configuration
netstat Display active TCP/IP connections
nlsinfo Used to display locale information
now Display date and time
nltest List domain controllers, force remote shutdown, etc
nslookup Check IP address on a Name Server
ntbackup Backup data to tape using CMD or batch file
ntdsutil Manage Active Directory Domain Services
ntcmdprompt Runs cmd.exe instead of command.exe in an MS-DOS application
ntsd Only for system developers
ntrights Used to edit user account privileges
nvspbind Used to modify network bindings
Alphabet O
openfiles Queries or displays open files
Alphabet P
pushd Change current folder and store previous folder for use by POPD
pssuspend Used to suspend a process on a local or remote computer
psshutdown Shutdown/restart/logoff/lock a local or remote machine
psservice Display and control services on a machine
psping Used to measure network performance
pspasswd Used to change account password
psloglist Display event log records
psloggedon See active users on machine
pslist Display process status and info about active processes
pskill Kill a process(es) using its name or process ID
psinfo List system information about a local/remote machine
psfile Display remotely opened files, close an open file
psexec Run a CMD process on a remote computer
prompt Used to change the Prompt in CMD
procdump Monitor system for CPU spikes, generate a crash report during a spike
prnqctl Clear printer queue, print a test page
prnport List/create/delete TCP printer ports, display/change port configuration
prnmngr List/add/delete printers, display/set default printer
prnjobs List/pause/resume/cancel print jobs
prndrvr List/add/delete printer drivers
prncnfg Used to configure/rename a printing device
printbrm For backup/recovery/migration of the print queue
print Used to print a text file(s) from CMD
powercfg Used to configure power settings and know battery health
portqry Display TCP and UDP port status
popd Go to the latest path/folder stored by PUSHD command
ping Test network connection to a computer
perms Display a user\’s ACL permissions for a file
perfmon Access performance monitor in CMD
pentnt Detect Floating Point Division error in the Pentium chip
pbadmin Starts Phone Book Administrator
pause Used to stop processing of a batch file
pathping Latency and Packet loss info for each node in the network path
path Set PATH environment variable for executable files
pagefileconfig Display and configure Virtual memory settings
Alphabet Q
qgrep Search file(s) for a given string pattern
query process or qprocess Display information about processes
Alphabet R
rundll32 Used to run a DLL program
runas Run a program as a different user
rsh Run commands on remote servers running RSH service
rsm Manage media resources using Removable storage
route Display/change the local IP routing table
robocopy Used to copy files and folders that have changed
rmtshare Manage file and printer shares local or remote servers
rmdir Used to delete a folder(s) Removes an empty directory
rd Used to delete a folder(s) Removes the specified directory and all subdirectories including any files
rexec Run commands on remote machines running Rexec service
reset session Used to reset a remote desktop session
replace Used to replace a file with another file of same name
ren Used to rename a file(s)
rem Add comments in batch file
relog Export performance counters to other formats like TSV, CSV, SQL
regini Used to change registry permissions
regsvr32 Used to register/unregister a DLL file
regedit Import/export/delete settings from a .reg text file
reg Display/add/change registry keys and values in Windows registry
recover Recover readable data from a defective disk
rcp Copy files to a computer running remote shell service
rasphone Manage RAS connections
rasdial Display Remote Access Service Status
Alphabet S
systeminfo Display detailed configuration information about the computer
sysmon Monitor and log system activity to Windows event log
subst Associate a path with a drive letter
subinacl Display/modify ACEs for file and folder permissions
strings Find ANSI and UNICODE strings in binary files
start Start a program, command, or batch file
sort Used to sort and display a redirected or piped input
slmgr Software Licensing Management tool for activation and KMS
sleep Put computer to sleep for specified number of seconds
shutdown Shutdown the computer
shortcut Create a Windows shortcut
shift Change the position of the batch parameters in a batch file
shellrunas Used to run a command as a different user
share List/edit a file share or print on any computer
sfc System File Checker
setx Set Environment Variables permanently
setspn Manage Service Principal Names for an Active Directory service account
setlocal Control visibility of environment variables in a batch file
set Display/set/remove environment variables in CMD
secedit Configure system security
schtasks Schedule command(s) to run at a specific time
sc Use Service Controller to manage Windows services
Alphabet T
tzutil Time Zone Utility
typeperf Write performance data to a CMD window or a log file
type Show contents of a text file
tssutdn Shutdown/reboot a terminal server remotely
tskill Terminate a running process on a RD Session Host server
tsdiscon Terminate a remote desktop connection
tree Display a folder structure in the form of a graphical tree
tracert Trace route to a remote host by sending ICMP request messages
tracerpt Process event trace logs and generate trace analysis report
touch Change file timestamps
title Change the text on top of CMD window
timeout Delay a batch file execution for specified seconds
time Display/change system time
tftp Transfer files to and from a remote machine running TFTP protocol
telnet Communicate with a remote machine using TELNET protocol
tcmsetup Enable/disable TAPI client
tasklist Display a list of running apps and services.
taskkill Used to terminate on or more running processes
takeown Used to take the ownership of a file
Alphabet U
unlodctr Remove performance counter names and explain text for a service from the registry
Alphabet V
ver Show version number of installed OS
verify Verify whether files are saved correctly on the disk
vol Show disk volume label and serial number
vssadmin Show shadow copy backups, installed shadow copy writers and providers
Alphabet W
wuauclt Windows Update Agent to download new update files
wmic Windows Management Instrumentation Command
winrs Windows Remote Shell
winrm Windows Remote Management
windiff Compare contents of two files or sets of files
whoami Display information about the active user
where Find and display file(s) in the current directory
wevtutil Retrieve information about event logs and publishers
waitfor Used to synchronize events between networked computer(s)
w32tm Access Windows Time Service Utility
Alphabet X
:: Comment
xcopy Copy files or directory trees to another folder
xcalcs Change ACLs for files and folders


That’s it! If you think we forget to share any CMD commands in that list, So please notify to us.

You can also Download List of CMD Commands PDF File Which we said above

Click here for List of CMD Commands

Follow Being4u on Facebook and Twitter. For the Latest Tech News and Gadgets News Checkout on Being4u.com

Gurjender Singh

How Are you all? My name is Gurjender Singh And I'm a Techholic person who spent most of the time on the laptop or pc trying to learn and do something new things. My Favorite is Blogging for Tech News and Gadgets News for Viewers.

You may also like...