A-Z Windows CMD Commands List
A-Z Windows CMD Commands List
Command Description
bitsadmin Used to create, download or upload jobs and monitor their progress.
bootcfg Used to build, modify, or view the contents of the boot.ini file.
Updates the master boot code for hard disk partitions to switch between
bootsect
BOOTMGR and NTLDR.
cacls Displays or changes access of the security descriptors on folders and files.
Used to run a script or batch program from within another script or batch
call
program.
Also known as chdir, is used to change the current working drive and/or
cd
directory in operating systems.
Changes various terminal server settings like install modes, COM port
change
mappings, and logons.
chdir Used to display the drive letter and folder that you are currently in.
chgusr Used to change the install mode for the RD Session Host server.
Verifies the file system integrity of a volume and fixes logical file system
chkdsk
errors.
Used to display or modify the checking of the disk drive using NTFS at
chkntfs
boot time.
Allows batch files to prompt the user to select one item from a set of
choice single-character choices and return the value of that choice to the
program.
clip Copies the result of any command (stdin) to the clipboard in Windows.
cmdkey Used to create, list and delete stored user names or credentials.
Changes the colors of the text and background within the Command
color
Prompt window.
ctty Used to change the default input and output devices for the system.
debug Starts Debug, a command line application used to test and edit programs.
deltree Used to delete a directory and all the files and subdirectories within it.
Displays a list of files and folders contained inside the folder that you are
dir
currently working in.
dism Starts the Deployment Image Servicing and Management (DISM) tool.
Used to edit command lines, create macros, and recall previously entered
doskey
commands.
dosshell Starts DOS Shell, a graphical file management tool for MS-DOS.
driverquery Displays a list of all installed device drivers and their properties.
Used in shell scripts and batch files to output status text to the screen or
echo
a file and also to turn the echoing feature on or off.
edit Starts the MS-DOS Editor tool that is used to create and modify text files.
Starts the Edlin tool that is used to create and modify text files from the
edlin
command line.
Provides database utilities for the Extensible Storage Engine (ESE) for
esentutl
Windows Vista.
exe2bin Converts a file of the EXE file type (executable file) to a binary file.
Used to extract the files and folders contained in Microsoft Cabinet (CAB)
extract
files.
Used to compare two individual or sets of files and then show the
fc
differences between them.
find Used to search for a specified text string in one or more files.
findstr Used to find specific text string patterns in one or more files.
fltmc Used to load, unload, list, and otherwise manage Filter drivers.
for Used to run a specified command for each file in a set of files.
format Used to format a drive in the file system that you specify.
Performs tasks that are related to file allocation table (FAT) and NTFS file
fsutil system, such as managing reparse points and sparse files, dismounting a
volume, and extending a volume.
ftp Transfers files to and from another computer.
Used to display the Media Access Control (MAC) address of all the network
getmac
adapters in the computer.
gpresult Used to display group policy settings and resultant set of policy for a user.
Displays the host name portion of the full computer name of the
hostname
computer.
icacls Display, modify, backup, or restore ACLs for files and directories.
Starts interlnk server and to copy interlnk files from one computer to
intersvr
another.
Displays all current TCP/IP network configuration values and can
ipconfig modify Dynamic Host Configuration Protocol (DHCP) and Domain Name
System (DNS) settings.
ipxroute Used to display and change information about IPX routing tables.
Used to load the specified program in the first 64K of memory and then
loadfix
runs the program.
Used to load a program into high memory and is usually used from within
loadhigh
the autoexec.bat file.
lock Used to lock a drive, enabling direct disk access for a program.
logman Used to create and manage Event Trace Session and Performance logs.
Manage-bde Used to configure BitLocker Drive Encryption from the command line.
Shows information about used and free memory areas and programs that
Mem
are currently loaded into memory in the MS-DOS subsystem.
Mode Used to configure system devices, most often COM and LPT ports.
This command properly displays the data within a Managed Object Format
Mofcomp
(MOF) file.
This command starts Microsoft Backup, a tool used to back up and restore
Msbackup
one or more files.
Net Used to display, configure, and correct a wide variety of network settings.
Net1 Used to display, configure, and correct a wide variety of network settings.
This command is used to manage Server for NFS or Client for NFS from
Nfsadmin
the command line.
This command starts the Windows Optional Component Setup tool, used
Ocsetup
to install additional Windows features.
Openfiles Used to display and disconnect open files and folders on a system.
Functions much like the tracert command, will also report information
Pathping
about network latency and loss at each hop.
Pause Used within a batch or script file to pause the processing of the file.
Pentnt Used to detect floating point division errors in the Intel Pentium chip.
Pkgmgr Used to start the Windows Package Manager from the Command Prompt.
Used to start the Microsoft PnP Utility, a tool used to install a Plug and
Pnputil
Play device from the command line.
This command is used to change the current directory to the one most
Popd
recently stored by the pushd command.
Used to store a directory for use, most commonly from within a batch or
Pushd
script program.
Used to display all Remote Desktop Session Host servers available on the
Qappsrv
network.
Used to copy files between a Windows computer and a system running the
Rcp
rshd daemon.
Used to set or change registry permissions and registry values from the
Regini
command line.
Register-
Used to register a Common Information Model (CIM) Provider in Windows.
cimprovider
Rename Used to change the name of the individual file that you specify.
Used to repair or decrypt a damaged drive that’s been encrypted using
Repair-bde
BitLocker.
Replace Used to replace one or more files with one or more other files.
Restore Used to restore files that were backed up using the backup command.
Rexec Used to run commands on remote computers running the rexec daemon.
Robocopy Used to copy files and directories from one location to another.
This command makes a remote procedure call (RPC) to an RPC server and
Rpcinfo
reports what it finds.
Rsh Used to run commands on remote computers running the rsh daemon.
Used to manage the Service Principal Names (SPN) for an Active Directory
Setspn
(AD) service account.
Share Used to install file locking and file sharing functions in MS-DOS.
Used to shut down, restart, or log off the current system or a remote
Shutdown
computer.
Used to read data from a specified input, sort that data, and return the
Sort results of that sort to the Command Prompt screen, a file, or another
output device.
Sys Used to copy the MS-DOS system files and command interpreter to a disk.
Telnet Used to communicate with remote computers that use the Telnet protocol.
Used to transfer files to and from a remote computer that’s running the
Tftp
Trivial File Transfer Protocol (TFTP) service or daemon.
Umount Used to remove Network File System (NFS) mounted network shares.
Undelete Used to undo a deletion performed with the MS-DOS delete command.
Unlock Used to unlock a drive, disabling direct disk access for a program.
Shows the volume label and serial number of a specified disk, assuming
Vol
this information exists.
Vsafe Used to start VSafe, a basic virus protection system for MS-DOS.
This command starts the Volume Shadow Copy Service administrative
Vssadmin command line tool which displays current volume shadow copy backups
and all installed shadow copy writers and providers.
Used start and stop backup jobs, display details about a previous backup,
Wbadmin list the items within a backup, and report on the status of a currently
running backup.
This command starts the Windows Events Command Line Utility which is
Wevtutil
used to manage event logs and publishers.
Winmgmt Starts the command line version of WMI, a scripting tool in Windows.