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 Command | Function |
---|---|
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 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 / QPROCESS | Display processes. |
Query TermServer /QAppSrv | List all servers. |
Query User / QUSER | Display user sessions. |
RASPHONE | ManageRead, Set, Export, Delete keys and values. RAS connections. |
REG Registry | Read, Set, Export, Delete keys and values. |
REGSVR32 | Register 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. |
TASKKILL | End 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. |
TSKILL | End a running process. |
TYPE | Display the contents of a text file. |
TZUTIL | Time Zone Utility. |
VERIFY | Verify that files have been saved. |
W32TM | Time Service. |
WEVTUTIL | Clear 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. |
ADmodcmd | Active 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. |
BOOTCFG | Edit Windows boot settings. |
CALL | Call one batch program from another. |
CD | Change Directory - move to a specific Folder. |
CHKNTFS | Check the NTFS file system. |
CleanMgr | Automated cleanup of Temp files, recycle bin. |
CMD | Start a new CMD shell. |
COMP | Compare the contents of two files or sets of files. |
CONVERT | Convert a FAT drive to NTFS. |
Coreinfo | Show 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. |
ECHO | Display message on screen. |
EVENTCREATE | Add a message to the Windows event log. |
FC | Compare two files. |
FOR /F Loop command | against the results of another command. |
FORFILES | Batch process multiple files. |
FTP | File Transfer Protocol. |
GOTO | Direct a batch program to jump to a labelled line. |
GPUPDATE | Update Group Policy settings. |
HOSTNAME | Display the host name of the computer. |
IEXPRESS | Create 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. |
MOVEUSER | Move 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. |
NTBACKUP | Backup folders to tape. |
NTRIGHTS | Edit user account rights |
PATH | Display 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. |
PROMPT | Change the command prompt. |
PsFile | Show files opened remotely. |
PsKill | Kill processes by name or process ID. |
ARP | Address Resolution Protocol. |
ASSOCIAT | one step file association. |
BITSADMIN | Background Intelligent Transfer Service. |
BROWSTAT | Get domain, browser and PDC info. |
CERTREQ | Request certificate from a certification authority. |
CHKDSK | Check Disk - check and repair disk problems. |
CHOICE | Accept keyboard input to a batch file. |
CLIP | Copy STDIN to the Windows clipboard. |
CMDKEY | Manage stored usernames/passwords. |
COMPACT | Compress files or folders on an NTFS partition. |
DIRQUOTA | File Server Resource Manager Disk quotas. |
DISKPART | Disk Administration. |
DOSKEY | Edit command line, recall commands, and create macros. |
FINDSTR | Search for strings in files. |
FREEDISK | Check free disk space. |
IFMEMBER | Is the current user a member of a group. |
PsLogList | Event log records. |
QGREP | Search file(s) for lines that match a given pattern. |
RASDIAL | Manage RAS connections. |
RECOVER | Recover a damaged file from a defective disk. |
REGEDIT | Import or export registry settings. |
REGINI | Change Registry Permissions. |
REN | Rename a file or files. |
RMTSHARE | Share a folder or a printer. |
ROUTE | Manipulate network routing tables. |
RUNAS | Execute a program under a different user account. |
SC | Service Control. |
SET | Display, set, or remove session environment variables. |
SetSPN | Edit Service Principal Name. |
SFC | System File Checker . |
ShellRunAs | Run a command under a different user account. |
SHORTCUT | Create a windows shortcut (.LNK file). |
SIGCHECK | Display file version no. VirusTotal status & timestamp. |
SLMGR | Software Licensing Management (Vista/2008). |
START | Start a program, command or batch file. |
SUBST | Associate a path with a drive letter. |
SYSTEMINFO | List system configuration. |
TASKLIST | List running applications and services. |
TELNET | Communicate with another host using the TELNET protocol. |
TIMEOUT | Delay processing of a batch file. |
TLIST | Task list with full path. |
TRACERT | Trace 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. |
VER | Display version information. |
VOL | Display a disk label. |
WAITFOR | Wait for or send a signal. |
WHERE | Locate and display files in a directory tree. |
WINDIFF | Compare the contents of two files or sets of files. |
WINRS | Windows Remote Shell. |
WPEUTIL | Run WinPE commands . |
XCOPY | Copy files and folders. |
Query Session / QWinsta | Display all sessions. |
PsSuspend | Suspend processes. |
PsPing | Measure network performance. |
PsShutdown | Shutdown 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.