counter free hit invisible

200+ CMD Commands List (Command Prompt Codes) – 2024

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
ADDUSERSAdd or list users to/from a CSV file.
BCDBOOT Create or repair a system partition.
CACLSChange file permissions.
CHANGE Change Terminal Server Session properties
CIPHEREncrypt or Decrypt files/folders
CLSClear the screen.
COLORChange colors of the CMD window.
COMPRESSCompress one or more files.
CSCcmd Client-side caching (Offline Files).
COPYCopy one or more files to another location.
CERTUTILUtility for certification authority (CA) files and services.
DEFRAGDefragment 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.
DSGetView items in the active directory.
DSMove Move an Active directory Object.
Dsmgmt Directory Service Management.
DELDelete one or more files.
ENDLOCAL End localisation of environment changes in a batch file.
ERASEDelete one or more files.
EXITQuit the current script/routine and set an error level.
EXPLORER Open Windows Explorer.
EXTRACTUncompress CAB files.
FINDSearch for a text string in a file.
FOR /F Loop command: against a set of files.
FOR Loop command: all options Files, Directory, List.
FORMATFormat a disk
FORMAT Format a disk.
FSUTIL File and Volume utilities.
EXPANDUncompress CAB files.
FTYPEFile extension file type associations.
GETMACDisplay the Media Access Control (MAC) address.
GPRESULT Display Resultant Set of Policy information.
HELPOnline Help.
iCACLSChange file and folder permissions.
IF Conditionally perform a command.
LABELEdit a disk label.
LOGMAN Manage Performance Monitor logs.
LOGTIME Log the date and time in a file.
MAPISEND Send email from the command line.
MKLINKCreate a symbolic link.
MOREDisplay output, one screen at a time.
MOVEMove files from one folder to another.
MSGSend a message.
MSINFO32System Information.
NETManage network resources.
NETSH Configure Network Interfaces, Windows Firewall & Remote access.
NETSTATDisplay networking statistics.
NLTESTNetwork Location Test.
NSLOOKUP Name server lookup.
NTDSUtilActive Directory Domain Services management.
NVSPBINDModify network bindings.
OPENFILESQuery or display open files.
PATHPING Trace route plus network latency and packet loss.
PERMSShow permissions for a user.
PINGTest a network connection.
PORTQRYDisplay the status of ports and services.
PRINTPrint a text file.
PRNCNFGConfigure or rename a printer.
ProcDumpMonitor an application for CPU spikes.
PsExecExecute process remotely.
PERFMONPerformance Monitor.
PsInfoList information about a system.
PsLoggedOnWho's logged on.
PsPasswd Change account password.
PsGetSidDisplay the SID of a computer or a user.
PsList List detailed information about processes.
PsServiceView 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.
REPLACEReplace or update one file with another.
RDDelete folder.
ROBOCOPYRobust 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.
SHUTDOWNShutdown the computer.
SLEEPWait for x seconds.
SORT Sort input.
STRINGSSearch for ANSI and UNICODE strings in binary files.
SYSMONMonitor and log system activity to the Windows event log.
SUBINACLEdit file and folder Permissions, Ownership and Domain.
TAKEOWNTake ownership of a file.
TASKKILLEnd a running process.
TIMEDisplay or set the system time
TITLESet the window title for a CMD.EXE session
TOUCHChange file timestamps.
TREEGraphical display of folder structure.
TSKILLEnd a running process.
TYPE Display the contents of a text file.
TZUTILTime Zone Utility.
VERIFYVerify 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.
ASSOCChange file extension associations.
ATSchedule a command to run at a specific time.
ATTRIBChange file attributes.
BCDEDITManage Boot Configuration Data.
BOOTCFGEdit Windows boot settings.
CALLCall 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.
COMPCompare the contents of two files or sets of files.
CONVERTConvert a FAT drive to NTFS.
CoreinfoShow the mapping between logical & physical processors.
CSVDEImport 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
DriverQueryDisplay installed device drivers.
DSAdd Add items to active directory.
DSMod Modify items in active directory.
DSRM Remove items from Active Directory.
DSQuerySearch 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.
GOTODirect a batch program to jump to a labelled line.
GPUPDATEUpdate Group Policy settings.
HOSTNAMEDisplay the host name of the computer.
IEXPRESSCreate a self extracting ZIP file archive.
INUSEReplace files that are in use by the OS.
LODCTR Load PerfMon performance counters.
LOGOFFLog a user off.
MAKECAB Create .CAB files.
MBSAcli Baseline Security Analyzer.
MDCreate new folders.
MODEConfigure a system device COM/LPT/CON.
MOVEUSERMove a user from one domain to another.
MSIEXEC Microsoft Windows Installer.
MSTSCTerminal Server Connection.
NETDOM Domain Manager.
NBTSTAT Display networking statistics.
NLSINFO Display locale information.
NOWDisplay the current Date and Time.
NTBACKUPBackup folders to tape.
NTRIGHTSEdit user account rights
PATHDisplay or set a search path for executable files.
PAUSESuspend processing of a batch file and display a message.
POPDReturn to a previous directory saved by PUSHD.
POWERCFG Configure power settings.
PRINTBRM Print queue Backup/Recovery.
PRNMNGRAdd, delete, list printers and printer connections.
PROMPTChange the command prompt.
PsFile Show files opened remotely.
PsKillKill processes by name or process ID.
ARPAddress 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.
SFCSystem 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.
SUBSTAssociate a path with a drive letter.
SYSTEMINFO List system configuration.
TASKLISTList running applications and services.
TELNETCommunicate with another host using the TELNET protocol.
TIMEOUTDelay processing of a batch file.
TLISTTask list with full path.
TRACERTTrace route to a remote host.
TSDISCONDisconnect a Remote Desktop Session.
TSSHUTDNRemotely shut down or reboot a terminal server.
TypePerf Write performance data to a log file.
VERDisplay version information.
VOLDisplay a disk label.
WAITFORWait 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 .
XCOPYCopy files and folders.
Query Session / QWinstaDisplay all sessions.
PsSuspendSuspend processes.
PsPingMeasure network performance.
PsShutdownShutdown or reboot a computer.
MOUNTVOLManage 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.