Command Prompt Commands : Alphabetical list of all commands in Windows 7






Command Prompt Commands in Windows 7 provides the user access to 180+ command line commands. Here is a list of 200 Command Prompt Commands in Windows 7.


Command Prompt Commands : A


Append – The append command can be used by programs to open files in another directory as if they were located in the current directory.


Arp – The arp command is used to display or change entries in the ARP cache.


Assoc – The assoc command is used to display or change the file type associated with a particular file extension.


At – The at command is used to schedule commands and other programs to run at a specific date and time.


Attrib – The attrib command is used to change the attributes of a single file or a directory.


Auditpol – The auditpol command is used to display or change audit policies.


Command Prompt Commands : B


Bcdedit – The bcdedit command is used to view or make changes to Boot Configuration Data.


Bitsadmin – The bitsadmin command is used to create, manage, and monitor download and upload jobs.


Bootcfg – The bootcfg command is used to build, modify, or view the contents of the boot.ini file, a hidden file that is used to identify in what folder, on which partition, and on which hard drive Windows is located.


Break – The break command sets or clears extended CTRL+C checking on DOS systems.

Command Prompt Commands : C


Cacls – The cacls command is used to display or change access control lists of files.


Call – The call command is used to run a script or batch program from within another script or batch program.


Certreq – The certreq command is used to perform various certification authority (CA) certificate functions.


Certutil – The certutil command is used to dump and display certification authority (CA) configuration information in addition to other CA functions.


Change – The change command changes various terminal server settings like install modes, COM port mappings, and logons.


Chcp – The chcp command displays or configures the active code page number.


Chdir – The chdir command is used to display the drive letter and folder that you are currently in. Chdir can also be used to change the drive and/or directory that you want to work in.


Chglogon – The chglogon command enables, disables, or drains terminal server session logins.


Chgport – The chgport command can be used to display or change COM port mappings for DOS compatibility.


Chgusr – The chgusr command is used to change the install mode for the terminal server.


Chkdsk – The chkdsk command, often referred to as check disk, is used to identify and correct certain hard drive errors.


Chkntfs – The chkntfs command is used to configure or display the checking of the disk drive during the Windows boot process.


Choice – The choice command is used within a script or batch program to provide a list of choices and return of the value of that choice to the program.


Cipher – The cipher command shows or changes the encryption status of files and folders on NTFS partitions.


Clip – The clip command is used to redirect the output from any command to the clipboard in Windows.


Cls – The cls command clears the screen of all previously entered commands and other text.


Cmd – The cmd command starts a new instance of the command interpreter.


Cmdkey – The cmdkey command is used to show, create, and remove stored user names and passwords.


Cmstp – The cmstp command installs or uninstalls a Connection Manager service profile.


Color – The color command is used to change the colors of the text and background within the Command Prompt window.


Comp – The comp command is used to compare the contents of two files or sets of files.


Compact – The compact command is used to show or change the compression state of files and directories on NTFS partitions.


Convert – The convert command is used to convert FAT or FAT32 formatted volumes to the NTFS format.


Copy – The copy command does simply that – it copies one or more files from one location to another.

Command Prompt Command : D


Date – The date command is used to show or change the current date.


Debug – The debug command starts Debug, a command line application used to test and edit programs.


Defrag – The defrag command is used to defragment a drive you specify. The defrag command is the command line version of Microsoft’s Disk Defragmenter.


Del – The del command is used to delete one or more files. The del command is the same as the erase command.


Dir – The dir command is used to display a list of files and folders contained inside the folder that you are currently working in. The dir command also displays other important information like the hard drive’s serial number, the total number of files listed, their combined size, the total amount of free space left on the drive, and more.


Diskcomp – The diskcomp command is used to compare the contents of two floppy disks.


Diskcopy – The diskcopy command is used to copy the entire contents of one floppy disk to another.


Diskpart – The diskpart command is used to create, manage, and delete hard drive partitions.


Diskraid – The diskraid command starts the DiskRAID tool which is used to manage and configure RAID arrays.


Dism – The dism command starts the Deployment Image Servicing and Management tool (DISM). The DISM tool is used to manage features in Windows images.


Dispdiag – The dispdiag command is used to output a log of information about the display system.


Doskey – The doskey command is used to edit command lines, create macros, and recall previously entered commands.


Driverquery – The driverquery command is used to show a list of all installed drivers.

Command Prompt Commands : E


Echo – The echo command is used to show messages, most commonly from within script or batch files. The echo command can also be used to turn the echoing feature on or off.


Edit – The edit command starts the MS-DOS Editor tool which is used to create and modify text files.


Edlin – The edlin command starts the Edlin tool which is used to create and modify text files from the command line.


Endlocal – The endlocal command is used to end the localization of environment changes inside a batch or script file.


Erase – The erase command is used to delete one or more files. The erase command is the same as the del command.


Eventcreate – The eventcreate command is used to create a custom event in an event log.


Exe2bin – The exe2bin command is used to convert a file of the EXE file type (executable file) to a binary file.


Exit – The exit command is used to end the Command Prompt session that you’re currently working in.


Expand – The expand command is used to extract a single file or a group of files from a compressed file.

Command Prompt Commands : F


Fastopen – The fastopen command is used to add a program’s hard drive location to a special list stored in memory, potentially improving the program’s launch time by removing the need for MS-DOS to locate the application on the drive.


Fc – The fc command is used to compare two individual or sets of files and then show the differences between them.


Find – The find command is used to search for a specified text string in one or more files.


Findstr – The findstr command is used to find text string patterns in one or more files.


Finger – The finger command is used to return information about one or more users on a remote computer that’s running the Finger service.


For – The for command is used to run a specified command for each file in a set of files. The for command is most often used within a batch or script file.


Forfiles – The forfiles command selects one or more files to execute a specified command on. The forfiles command is most often used within a batch or script file.


Format – The format command is used to format a drive in the file system that you specify.


Fsutil – The fsutil command is used to perform various FAT and NTFS file system tasks like managing reparse points and sparse files, dismounting a volume, and extending a volume.


Ftp – The ftp command can used to transfer files to and from another computer. The remote computer must be operating as an FTP server.


Ftype – The ftype command is used to define a default program to open a specified file type.

Command Prompt Commands : G


Getmac – The getmac command is used to display the media access control (MAC) address of all the network controllers on a system.


Goto – The goto command is used in a batch or script file to direct the command process to a labeled line in the script.


Gpresult – The gpresult command is used to display Group Policy settings.


Gpupdate – The gpupdate command is used to update Group Policy settings.


Graftabl – The graftabl command is used to enable the ability of Windows to display an extended character set in graphics mode.


Graphics – The graphics command is used to load a program that can print graphics.

Command Prompt Commands : H


Help – The help command provides more detailed information on any of the other Command Prompt commands.


Hostname – The hostname command displays the name of the current host.

Command Prompt Commands : I


Icacls – The icacls command is used to display or change access control lists of files. The icacls command is an updated version of the cacls command.


If – The if command is used to perform conditional functions in a batch file.


Ipconfig – The ipconfig command is used to display detailed IP information for each network adapter utilizing TCP/IP. The ipconfig command can also be used to release and renew IP addresses on systems configured to receive them via a DHCP server.


Irftp – The irftp command is used to transmit files over an infrared link.


Iscsicli – The iscsicli command starts the Microsoft iSCSI Initiator, used to manage iSCSI.

Command Prompt Commands : L


Label – The label command is used to manage the volume label of a disk.


Loadfix – The loadfix command is used to load the specified program in the first 64K of memory and then runs the program
.
Lodctr – The lodctr command is used to update registry values related to performance counters.


Logman – The logman command is used to create and manage Event Trace Session and Performance logs. The logman command also supports many functions of Performance Monitor.


Logoff – The logoff command is used to terminate a session.

Command Prompt Commands : M


Mem – The mem command shows information about used and free memory areas and programs that are currently loaded into memory in the MS-DOS subsystem.


Mkdir (Md) – The mkdir command is used to create a new folder.


Mklink – The mklink command is used to create a symbolic link.


Mmc – The mmc command can be used to open Microsoft Management Console in author mode or to a specific snap-in console, all from the Command Prompt.


Mode – The mode command is used to configure system devices, most often COM and LPT ports.


More – The more command is used to display the information contained in a text file. The more command can also be used to paginate the results of any other Command Prompt command.


Mountvol – The mountvol command is used to display, create, or remove volume mount points.


Move – The move command is used to move one or files from one folder to another. The move command is also used to rename directories.


Msg – The msg command is used to send a message to a user.


Msiexec – The msiexec command is used to start Windows Installer, a tool used to install and configure software.

Command Prompt Commands : O


Openfiles – Queries, displays, or disconnects open files or files opened by network users.


Command Prompt Commands : P


Path – Displays or sets a search path for executable files.


Pause – Suspends processing of a batch file and displays a message.


Popd – Restores the previous value of the current directory saved by PUSHD.


Print – Prints a text file.


Prompt – Changes the Windows command prompt.


Pushd – Saves the current directory then changes it.

Command Prompt Commands : R


Rd – Removes a directory.


Recover – Recovers readable information from a bad or defective disk.


Rem – Designates comments (remarks) in batch files.


Ren – Renames a file or files.


Replace – Replaces files.


Rmdir – Removes a directory.


Robocopy – Advanced utility to copy files and directory trees.

Command Prompt Commands : S



Set – Displays, sets, or removes environment variables for current session.


Setlocal – Begins localization of environment changes in a batch file.


Setx – Sets environment variables.


Sc – Displays or configures services (background processes).


Schtasks – Schedules commands and programs to run on a computer.


Shift – Shifts the position of replaceable parameters in batch files.


Shutdown – Allows proper local or remote shutdown of machine.


Sort – Sorts input.


Start – Starts a separate window to run a specified program or command.


Subst – Associates a path with a drive letter.


Systeminfo – Displays machine specific properties and configuration.

Command Prompt Commands : T


Takeown – Allows an administrator to take ownership of a file.


Tasklist – Displays all currently running tasks including services.


Taskkill – Kill or stop a running process or application.


Time – Displays or sets the system time.


Timeout – Pauses the command processor for the specified number of seconds.


Title – Sets the window title for a CMD.EXE session.


Tree – Graphically displays the directory structure of a drive or path.


Type – Displays the contents of a text file.

Command Prompt Commands : V


Ver – Displays the Windows version.


Verify – Tells Windows whether to verify that your files are written correctly to a disk.


Vol – Displays a disk volume label and serial number.


Vssadmin – Volume Shadow Copy Service administration tool.

Command Prompt Commands : W


Where – Displays the location of files that match a search pattern.


Wmic – Displays WMI information inside interactive command shell.

Command Prompt Commands : X


Xcopy – Copies files and directory trees.