200+ CMD Commands List (Command Prompt Codes)

CMD Commands List (Command Prompt Codes)

CMD or “Command Prompt” is a command-line interpreter built right into the Windows operating system. All you need to do is search for CMD, and you are sure to find it.

If you have ever done something geeky with your windows PC, you are sure to have used it. It can be used to perform tasks and modify system settings that are usually not available in the GUI.

But the main issue with CMD is that there are keywords and commands that a user must learn as there are no menus and icons to use.

Most of us don’t remember these commands as there are more than 200 of them. Hence, users are continuously looking for CMD commands on the internet.

Here in this article, we have a complete list of all the CMD commands there are. So you do not have to look for CMD controls anymore.

All you need to do is search the right CMD command and perform it command prompt list given below.

Also Check:- Command Prompt Tricks

All Best CMD Commands List.

Given below is the complete list of all command prompt commands :

CMD CommandFunction
ADDUSERS Add or list users to/from a CSV file.
BCDBOOT Create or repair a system partition.
CACLS Change file permissions.
CHANGE Change Terminal Server Session properties
CIPHER Encrypt or Decrypt files/folders
CLS Clear the screen.
COLOR Change colors of the CMD window.
COMPRESS Compress one or more files.
CSCcmd Client-side caching (Offline Files).
COPY Copy one or more files to another location.
CERTUTIL Utility for certification authority (CA) files and services.
DEFRAG Defragment hard drive.
DELPROF Delete user profiles.
DevCon Device Manager Command Line Utility.
DIRUSE Display disk usage.
DISKUSE Show the space used in folders.
DSACLs Active Directory ACLs.
DSGet View items in the active directory.
DSMove Move an Active directory Object.
Dsmgmt Directory Service Management.
DEL Delete one or more files.
ENDLOCAL End localisation of environment changes in a batch file.
ERASE Delete one or more files.
EXIT Quit the current script/routine and set an error level.
EXPLORER Open Windows Explorer.
EXTRACT Uncompress CAB files.
FIND Search for a text string in a file.
FOR /F Loop command: against a set of files.
FOR Loop command: all options Files, Directory, List.
FORMAT Format a disk
FORMAT Format a disk.
FSUTIL File and Volume utilities.
EXPAND Uncompress CAB files.
FTYPE File extension file type associations.
GETMAC Display the Media Access Control (MAC) address.
GPRESULT Display Resultant Set of Policy information.
HELP Online Help.
iCACLS Change file and folder permissions.
IF Conditionally perform a command.
IPCONFIG Configure IP.
LABEL Edit a disk label.
LOGMAN Manage Performance Monitor logs.
LOGTIME Log the date and time in a file.
MAPISEND Send email from the command line.
MKLINK Create a symbolic link.
MORE Display output, one screen at a time.
MOVE Move files from one folder to another.
MSG Send a message.
MSINFO32 System Information.
NET Manage network resources.
NETSH Configure Network Interfaces, Windows Firewall & Remote access.
NETSTAT Display networking statistics.
NLTEST Network Location Test.
NSLOOKUP Name server lookup.
NTDSUtil Active Directory Domain Services management.
NVSPBIND Modify network bindings.
OPENFILES Query or display open files.
PATHPING Trace route plus network latency and packet loss.
PERMS Show permissions for a user.
PING Test a network connection.
PORTQRY Display the status of ports and services.
PRINT Print a text file.
PRNCNFG Configure or rename a printer.
ProcDump Monitor an application for CPU spikes.
PsExec Execute process remotely.
PERFMON Performance Monitor.
PsInfo List information about a system.
PsLoggedOn Who's logged on.
PsPasswd Change account password.
PsGetSid Display the SID of a computer or a user.
PsList List detailed information about processes.
PsService View and control services.
PUSHD Save and then change the current directory.
Query Process / QPROCESSDisplay processes.
Query TermServer /QAppSrv List all servers.
Query User / QUSER Display user sessions.
RASPHONEManageRead, Set, Export, Delete keys and values. RAS connections.
REG RegistryRead, Set, Export, Delete keys and values.
REGSVR32Register or unregister a DLL.
REM Record comments (remarks) in a batch file.
REPLACE Replace or update one file with another.
RD Delete folder.
ROBOCOPY Robust File and Folder Copy.
RUN Start | RUN commands.
RUNDLL32 Run a DLL command.
SCHTASKS Schedule a command to run at a specific time.
SETLOCAL Control the visibility of environment variables.
SETX Set environment variables.
SHARE List or edit a file share or print share.
SHIFT Shift the position of batch file parameters.
SHUTDOWN Shutdown the computer.
SLEEP Wait for x seconds.
SORT Sort input.
STRINGS Search for ANSI and UNICODE strings in binary files.
SYSMON Monitor and log system activity to the Windows event log.
SUBINACL Edit file and folder Permissions, Ownership and Domain.
TAKEOWN Take ownership of a file.
TASKKILLEnd a running process.
TIME Display or set the system time
TITLE Set the window title for a CMD.EXE session
TOUCH Change file timestamps.
TREE Graphical display of folder structure.
TSKILLEnd a running process.
TYPE Display the contents of a text file.
TZUTILTime Zone Utility.
VERIFY Verify that files have been saved.
W32TM Time Service.
WEVTUTILClear event logs, enable/disable/query logs.
WHOAMI Output the current UserName and domain.
WINRM Windows Remote Management.
WMIC WMI Commands.
WUAUCLT Windows Update.
XCACLS Change file and folder permissions.
::Comment / Remark.
ADmodcmdActive Directory Bulk Modify.
ASSOC Change file extension associations.
AT Schedule a command to run at a specific time.
ATTRIB Change file attributes.
BCDEDIT Manage Boot Configuration Data.
BOOTCFGEdit Windows boot settings.
CALL Call one batch program from another.
CDChange Directory - move to a specific Folder.
CHKNTFSCheck the NTFS file system.
CleanMgrAutomated cleanup of Temp files, recycle bin.
CMD Start a new CMD shell.
COMP Compare the contents of two files or sets of files.
CONVERTConvert a FAT drive to NTFS.
CoreinfoShow the mapping between logical & physical processors.
CSVDE Import or Export Active Directory data.
DATE Display or set the date.
DELTREE Delete a folder and all subfolders.
DIR Display a list of files and folders.
DISKSHADOW Volume Shadow Copy Service
DriverQuery Display installed device drivers.
DSAdd Add items to active directory.
DSMod Modify items in active directory.
DSRM Remove items from Active Directory.
DSQuery Search for items in active directory.
ECHODisplay message on screen.
EVENTCREATEAdd a message to the Windows event log.
FC Compare two files.
FOR /F Loop commandagainst the results of another command.
FORFILESBatch process multiple files.
FTP File Transfer Protocol.
GOTO Direct a batch program to jump to a labelled line.
GPUPDATE Update Group Policy settings.
HOSTNAMEDisplay the host name of the computer.
IEXPRESSCreate a self extracting ZIP file archive.
INUSE Replace files that are in use by the OS.
LODCTR Load PerfMon performance counters.
LOGOFF Log a user off.
MAKECAB Create .CAB files.
MBSAcli Baseline Security Analyzer.
MD Create new folders.
MODE Configure a system device COM/LPT/CON.
MOVEUSERMove a user from one domain to another.
MSIEXEC Microsoft Windows Installer.
MSTSC Terminal Server Connection.
NETDOM Domain Manager.
NBTSTAT Display networking statistics.
NLSINFO Display locale information.
NOW Display the current Date and Time.
NTBACKUPBackup folders to tape.
NTRIGHTSEdit user account rights
PATHDisplay or set a search path for executable files.
PAUSE Suspend processing of a batch file and display a message.
POPD Return to a previous directory saved by PUSHD.
POWERCFG Configure power settings.
PRINTBRM Print queue Backup/Recovery.
PRNMNGR Add, delete, list printers and printer connections.
PROMPTChange the command prompt.
PsFile Show files opened remotely.
PsKillKill processes by name or process ID.
ARP Address Resolution Protocol.
ASSOCIATone step file association.
BITSADMINBackground Intelligent Transfer Service.
BROWSTATGet domain, browser and PDC info.
CERTREQRequest certificate from a certification authority.
CHKDSKCheck Disk - check and repair disk problems.
CHOICEAccept keyboard input to a batch file.
CLIPCopy STDIN to the Windows clipboard.
CMDKEYManage stored usernames/passwords.
COMPACT Compress files or folders on an NTFS partition.
DIRQUOTA File Server Resource Manager Disk quotas.
DISKPART Disk Administration.
DOSKEYEdit command line, recall commands, and create macros.
FINDSTR Search for strings in files.
FREEDISKCheck free disk space.
IFMEMBERIs the current user a member of a group.
PsLogListEvent log records.
QGREPSearch file(s) for lines that match a given pattern.
RASDIALManage RAS connections.
RECOVERRecover a damaged file from a defective disk.
REGEDITImport or export registry settings.
REGINIChange Registry Permissions.
RENRename a file or files.
RMTSHAREShare a folder or a printer.
ROUTEManipulate network routing tables.
RUNASExecute a program under a different user account.
SCService Control.
SETDisplay, set, or remove session environment variables.
SetSPNEdit Service Principal Name.
SFC System File Checker .
ShellRunAs Run a command under a different user account.
SHORTCUTCreate a windows shortcut (.LNK file).
SIGCHECKDisplay file version no. VirusTotal status & timestamp.
SLMGRSoftware Licensing Management (Vista/2008).
STARTStart a program, command or batch file.
SUBST Associate a path with a drive letter.
SYSTEMINFO List system configuration.
TASKLISTList running applications and services.
TELNETCommunicate with another host using the TELNET protocol.
TIMEOUT Delay processing of a batch file.
TLIST Task list with full path.
TRACERTTrace route to a remote host.
TSDISCON Disconnect a Remote Desktop Session.
TSSHUTDN Remotely shut down or reboot a terminal server.
TypePerf Write performance data to a log file.
VERDisplay version information.
VOLDisplay a disk label.
WAITFOR Wait for or send a signal.
WHERE Locate and display files in a directory tree.
WINDIFFCompare the contents of two files or sets of files.
WINRSWindows Remote Shell.
WPEUTILRun WinPE commands .
XCOPY Copy files and folders.
Query Session / QWinstaDisplay all sessions.
PsSuspend Suspend processes.
PsPingMeasure network performance.
PsShutdownShutdown or reboot a computer.
MOUNTVOL Manage a volume mount point.

In conclusion, these are the best CMD commands list that you can find. If you think we have missed any command, please tell us in the comments below. Also, share your suggestions and experiences.