Command Prompt Commands
This is a list of command prompt commands, some of these may no longer function properly or at all in Windows Vista/7.
Contents
A
ACCESS.CPL - Accessibility Options
ACCWIZ.EXE - Accessibility Wizard
APPWIZ.CPL - Add or Remove Programs
ARP - Address Resolution Protocol
ASSOC - Change file extension associations
ASSOCIAT - One step file association
AT - Schedule a command to run at a later time
ATTRIB - Change file attributes
B
BROWSTAT - Get domain, browser and PDC info
C
CACLS - Change file permissions
CALL - Call one batch program from another
CD - Change Directory or move to a specific Folder
CERTMGR.MSC - Certificates
CHANGE - Change Terminal Server Session properties
CHARMAP.EXE - Character Map
CHKDSK - Check Disk - check and repair disk problems
CHKNTFS - Check the NTFS file system
CHOICE - Accept keyboard input to a batch file
CIPHER - Encrypt or Decrypt files/folders
CLEANMGR.EXE - Disk Space Cleanup Manager
CLEARMEM - Clear memory leaks
CLICONFG.EXE - SQL Client Configuration Utility
CLIP - Copy STDIN to the Windows clipboard.
CLS - Clear the screen
CLSPACK.EXE - Class Package Export Tool
CLUSTER - Windows Clustering
CMD - Start a new CMD shell
CMSTP.EXE - Connection Manager Profile Installer
COLOR - Change colours of the CMD window
COMP - Compare the contents of two files or sets of files
COMPACT - Compress files or folders on an NTFS partition
COMPMGMT.MSC - Computer Management
COMPRESS - Compress individual files on an NTFS partition
CON2PRT - Connect or disconnect a Printer
control netconnections - Network Connections
CONTROL.EXE - Control Panel
CONVERT - Convert a FAT drive to NTFS.
COPY - Copy one or more files to another location
CSVDE - Import or Export Active Directory data
D
DATE - Display or set the date
DCOMCNFG.EXE - Component Services
DDESHARE.EXE - DDE Share
DEFRAG - Defragment hard drive
DEL - Delete one or more files
DELPROF - Delete NT user profiles
DELTREE - Delete a folder and all subfolders
DESK.CPL - Display Properties
DevCon - Device Manager Command Line Utility
DEVMGMT.MSC - Device Manager
DIALER.EXE - Phone Dialer
DIR - Display a list of files and folders
DIRUSE - Display disk usage
DISKCOMP - Compare the contents of two floppy disks
DISKCOPY - Copy the contents of one floppy disk to another
DISKMGMT.MSC - Disk Management
DNSSTAT - DNS Statistics
DOSKEY - Edit command line, recall commands, and create macros
DRWATSON.EXE - Doctor Watson v1.00b
DRWTSN32.EXE - Doctor Watson Settings
DSADD - Add user (computer, group..) to active directory
DSQUERY - List items in active directory
DSMOD - Modify user (computer, group..) in active directory
DXDIAG.EXE - DirectX Diagnostics
E
ECHO - Display message on screen
ENDLOCAL - End localisation of environment changes in a batch file
ERASE - Delete one or more files
EUDCEDIT.EXE - Private Character Editor
EVENTVWR.EXE - Event Viewer
EVENTVWR.MSC - Event Viewer
EXIT - Quit the CMD shell
EXPAND - Uncompress files
EXPLORER.EXE - Windows Explorer
EXTRACT - Uncompress CAB files
F
FC - Compare two files
FDISK - Disk Format and partition
FIND - Search for a text string in a file
FINDSTR - Search for strings in files
FOR - Conditionally perform a command several times
FORFILES - Batch process multiple files
FORMAT - Format a disk
FREEDISK - Check free disk space (in bytes)
FSMGMT.MSC - Shared Folders
FSUTIL - File and Volume utilities
FTP - File Transfer Protocol
FTYPE - Display or modify file types used in file extension associations
FXSCLNT.EXE - Fax Console
FXSCOVER.EXE - Fax Cover Page Editor
FXSEND.EXE - MS Fax Send Note Utility
G
GLOBAL - Display membership of global groups
GOTO - Direct a batch program to jump to a labelled line
H
HDWWIZ.CPL - Add Hardware Wizard
HELP - Online Help
HFNETCHK - Network Security Hotfix Checker
I
IEXPLORE.EXE - Internet Explorer
IF - Conditionally perform a command
IFMEMBER - Is the current user in an NT Workgroup
INETCPL.CPL - Internet Explorer Properties
INSTSRV - Install an NT Service
INTL.CPL - Regional and Language Options
IPCONFIG - Configure IP
J
JOY.CPL - Game Controllers
K
KILL - Remove a program from memory
L
LABEL - Edit a disk label
LOCAL - Display membership of local groups
LOGEVENT - Write text to the NT event viewer.
LOGOFF - Log a user off
LOGOFF.EXE - System Logoff
LOGTIME - Log the date and time in a file
LUSRMGR.MSC - Local Users and Groups
M
MAGNIFY.EXE - Microsoft Magnifier
MAIN.CPL - Mouse Properties
MAPISEND - Send email from the command line
MD - Create new folders
MEM - Display memory usage
MIGWIZ.EXE - File and Settings Transfer Wizard
MMC.EXE - Microsoft Management Console
MMSYS.CPL - Sounds and Audio Device Properties
MOBSYNC.EXE - Microsoft Synchronization Manager
MODE - Configure a system device
MORE - Display output, one screen at a time
MOUNTVOL - Manage a volume mount point
MOVE - Move files from one folder to another
MOVEUSER - Move a user from one domain to another
MPLAY32.EXE - Windows Media Player version 5.1
MPLAYER2.EXE - Classic Media Player
MSCONFIG.EXE - System Configuration Utility
MSG - Send a message
MSIEXEC - Microsoft Windows Installer
MSINFO - Windows NT diagnostics
MSINFO32.EXE - System Information
MSTSC - Terminal Server Connection (Remote Desktop Protocol)
MSTSC.EXE - Remote Desktop Connection
MUNGE - Find and Replace text within file(s)
MV - Copy in-use files
N
NARRATOR.EXE - Microsoft Narrator
NBTSTAT - Display networking statistics (NetBIOS over TCP/IP)
NCPA.CPL - Network Connections
NET - Manage network resources
NETDOM - Domain Manager
NETSETUP.EXE - Network Setup Wizard
NETSH - Configure network protocols
NETSTAT - Display networking statistics (TCP/IP)
NETSVC - Command-line Service Controller
NOW - Display the current Date and Time
NSLOOKUP - Name server lookup
NSLOOKUP.EXE - NSLookup Application
NTBACKUP - Backup folders to tape
NTMSOPRQ.MSC - Removable Storage Operator Requests
NTRIGHTS - Edit user account rights
NTSD.EXE - Symbolic Debugger for Windows 2000
NUSRMGR.CPL - User Accounts
O
ODBCAD32.EXE - ODBC Data Source Administrator
ODBCCP32.CPL - ODBC Data Source Administrator
OSUNINST.EXE - Windows Uninstall Utility
P
PACKAGER.EXE - Object Packager
PATH - Display or set a search path for executable files
PATHPING - Trace route plus network latency and packet loss
PAUSE - Suspend processing of a batch file and display a message
PBRUSH.EXE - Paint
PERFMON - Performance Monitor
PERFMON.EXE - Performance Monitor
PERFMON.MSC - Performance Monitor
PERMS - Show permissions for a user
PING - Test a network connection
POPD - Restore the previous value of the current directory saved by PUSHD
PORTQRY - Display the status of ports and services
POWERCFG.CPL - Power Options Properties
PRINT - Print a text file
PRNCNFG - Display, configure or rename a printer
PRNMNGR - Add, delete, list printers set the default printer
PROGMAN.EXE - Program Manager
PROMPT - Change the command prompt
PUSHD - Save and then change the current directory
Q
QGREP - Search file(s) for lines that match a given pattern.
R
RASDIAL - Manage RAS connections
RASPHONE - Manage RAS connections
RASPHONE.EXE - Remote Access Phonebook
RD - Delete folder(s)
RDISK - Create a Recovery Disk
RECOVER - Recover a damaged file from a defective disk.
REG - Read, Set or Delete registry keys and values
REGEDIT - Import or export registry settings
REGEDIT.EXE - Registry Editor
REGEDT32.EXE - Registry Editor
REGINI - Change Registry Permissions
REGSVR32 - Register or unregister a DLL
REM - Record comments (remarks) in a batch file
REN - Rename a file or files.
REPLACE - Replace or update one file with another
RESET.EXE - Resets Session
RMTSHARE - Share a folder or a printer
ROBOCOPY - Robust File and Folder Copy
ROUTE - Manipulate network routing tables
RSTRUI.EXE - System Restore
RTCSHARE.EXE - RTC Application Sharing
RUNAS - Execute a program under a different user account
RUNDLL32 - Run a DLL command (add/remove print connections)
S
SC - Service Control
SCHTASKS - Create or Edit Scheduled Tasks
SCLIST - Display NT Services
ScriptIt - Control GUI applications
SERVICES.MSC - Services
SET - Display, set, or remove environment variables
SETLOCAL - Begin localisation of environment changes in a batch file
SETX - Set environment variables permanently
SFC.EXE - System File Checker
SHARE - List or edit a file share or print share
SHIFT - Shift the position of replaceable parameters in a batch file
SHORTCUT - Create a windows shortcut (.LNK file)
SHOWGRPS - List the Workgroups a user is in
SHOWMBRS - List the members of a Workgroup
SHRPUBW.EXE - Create Shared Folder
SHUTDOWN.EXE - System Shutdown
SIGVERIF.EXE - File Signature Verification
SLEEP - Wait for x seconds
SNDREC32.EXE - Sound Recorder
SNDVOL32.EXE - Sound Volume
SOON - Schedule a command to run in the near future
SORT - Sort input
START - Start a separate window to run a specified program or command
SU - Switch User
SUBINACL - Edit file and folder Permissions, Ownership and Domain
SUBST - Associate a path with a drive letter
SYNCAPP.EXE - Create A Briefcase
SYSDM.CPL - System Properties
SYSEDIT.EXE - System Configuration Editor
SYSKEY.EXE - SAM Lock Tool
T
TASKLIST - List running applications and services TIME Display or set the system time
TASKMGR.EXE - Task Manager
TELEPHON.CPL - Phone and Modem Options
TELNET.EXE - MS Telnet Client
TIMEDATE.CPL - Date and Time Properties
TIMEOUT - Delay processing of a batch file
TITLE - Set the window title for a CMD.EXE session
TOUCH - Change file timestamps
TOURSTART.EXE - Windows Tour Launcher
TRACERT - Trace route to a remote host
TREE - Graphical display of folder structure
TSSHUTDN.EXE - System Shutdown
TYPE - Display the contents of a text file
U
USERINIT.EXE - My Documents
USRSTAT - List domain usernames and last login
UTILMAN.EXE - System Utility Manager
V
VER - Display version information
VERIFIER.EXE - Driver Verifier Manager
VERIFY - Verify that files have been saved
VOL - Display a disk label
W
WAB.EXE - Windows Address Book
WABMIG.EXE - Address Book Import Tool
WHERE - Locate and display files in a directory tree
WHOAMI - Output the current UserName and domain
WIAACMGR.EXE - Scanner and Camera Wizard
WINCHAT.EXE - Windows for Workgroups Chat
WINDIFF - Compare the contents of two files or sets of files
WINHELP.EXE - Windows Help Engine
WINHLP32.EXE - Help
WINMSD - Windows system diagnostics
WINMSDP - Windows system diagnostics IIWMIC WMI Commands
WINVER.EXE - Windows Version Information
WMIMGMT.MSC - Windows Management Infrastructure
WSCRIPT.EXE - Windows Script Host Settings
WUPDMGR.EXE - Windows Update
X
XCACLS - Change file permissions
XCOPY - Copy files and folders