Cmd commands list

Unlike in Windows, DOS commands are the primary way in which you use the operating system. We also have a command comparison table to show which commands are available in different Microsoft operating systems. Tweet Share Email. Assign The assign command is used to redirect drive requests to a different drive. This command can also show drive assignments and reset drive letters to their original assignments.

Attrib The attrib command is used to change the attributes of a single file or a directory. Call The call command is used to run a script or batch program from within another script or batch program. The call command has no effect outside of a script or batch file.

Cd The cd command is the shorthand version of the chdir command. 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. Chkdsk The chkdsk command, often referred to as check disk, is used to identify and correct certain hard drive errors.

cmd commands list

Choice The choice command is used within a script or batch program to provide a list of choices and return the value of that choice to the program. Cls The cls command clears the screen of all previously entered commands and other text. Command The command command starts a new instance of the command. Copy The copy command copies one or more files from one location to another.

Ctty The ctty command is used to change the default input and output devices for the system. Date The date command is used to show or change the current date.

Dblspace The dblspace command is used to create or configure DoubleSpace compressed drives. 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. Deltree The deltree command is used to delete a directory and all the files and subdirectories within it. SYS file to load device drivers into memory. SYS file to load device drivers into upper memory.

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 numberthe 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. Doskey The doskey command is used to edit command lines, create macros, and recall previously entered commands.

Drvspace The drvspace command is used to create or configure DriveSpace compressed drives. DriveSpace, executed using the drvspace command, is an updated version of DoubleSpace.

cmd commands list

DriveSpace is an updated version of DoubleSpace, executed using the dblspace command. 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.The Command Prompt in Windows 7 provides access to more than commands. The commands available in Windows 7 are used to automate processes, create batch files, and perform troubleshooting and diagnostic tasks.

Windows 7 Command Prompt Commands

As of JanuaryMicrosoft is no longer supporting Windows 7. We recommend upgrading to Windows 10 to continue receiving security updates and technical support. Tweet Share Email. Command Prompt Commands for Windows 7 Command Description Append The append command can be used by programs to open files in another directory as if they were located in the current directory. The append command is not available in bit versions of Windows 7.

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. Bcdboot The bcdboot command is used to copy boot files to the system partition and to create a new system BCD store. 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. While the bitsadmin command is available in Windows 7, it is being phased out. Bootcfg The bootcfg command is used to build, modify, or view the contents of the boot.

Bootcfg is available in Windows 7 but it serves no real value since boot. The bcdedit command should be used instead. Cacls The cacls command is used to display or change access control lists of files. The cacls command is being phased out in favor of the icacls command, which should be used instead. Call The call command is used to run a script or batch program from within another script or batch program.

The call command has no effect outside of a script or batch file. Cd The cd command is the shorthand version of the chdir command.

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.Most IT experts and Linux users, in addition to computer users who work with MS-DOS, are relatively familiar with the command line and its corresponding commands. But a lot can be achieved with the command prompt in Windows, too. Windows console commands have changed over time: in newer Windows versions, users no longer have access to some of the familiar commands.

The command line also called the console or terminal is a text-based interface within the operating systemthat forwards commands from the user to the operating system.

This makes it possible, for example, to organize files, start programs, or run other commands linked to the operating system, computer, or network. In older operating systems like MS-DOSyou had to work without a graphical user interface, and oftentimes even navigate without a mouse. Instead, you had to type in all commands β€” the directory structures were then displayed as plain text on the screen. But even after the switch to graphical operating systems, the command line remained text-based.

For example, automations can be created better with PowerShell. In this way, users can create script programs with the PowerShell scripting language.

Many Windows console commands are based on batch files. This are usually text files with the ending. These files are generally created to perform routine work and start other programs. There are various options for accessing the command line in Windows. Technically speaking, the command line is the CMD. EXE program. This executable file should be found in the system directory of your Windows folder. If you right-click on the file, Windows also gives you the option to start the program as an administrator β€” in case you have the access data for this.

To reach the program more quickly, you can use the search bar or the run menu. The command prompt has long had a fixed spot in the Windows start menu as well. With Windows 8, Microsoft replaced the start menu with a start screen.

But the command prompt is also found via the apps here. In this way, you can find the command prompt in the normal execution as well as the administrator version.

CMD functions via defined commands. The same goes for parameters that you link to the commands.Microsoft has slowly pushed aside CMD commands in the Windows interface.

Windows command prompt: CMD commands explained

This is not without reason; it is an antiquated and mostly unnecessary tool from an era of text-based input. But many commands remain useful, and Windows 8 and 10 even added new features. Read More for instructions. Most files in Windows are associated with a specific program that is assigned to open the file by default. At times, remembering these associations can become confusing.

You can also extend the command to change file associations. You can probably do this more easily in the GUI, but the command line interface is a perfectly functional alternative.

Instead, it marks the files as no longer accessible and the space they took up as free. The files remain recoverable until the system overwrites them with new data, which can take some time. The cipher command, however, wipes a directory by writing random data to it.

List of DOS commands

The command does not overwrite undeleted data, so you will not wipe out files you need by running this command. You can use a host of other cipher commands, however, they are generally redundant with BitLocker enabled versions of Windows. Drivers remain among the most important software installed on a PC. In Windows 10, Windows Update automatically updates hardware drivers.

If you suffer the consequences, let us show you how to roll back your driver and block future You can use this command to identify differences in text between two files. You can also extend the command in several ways. This command relays the IP address that your computer is currently using.

Still, ipconfig is useful because of its extensions. These commands are great if the Windows network troubleshooter chokes, which does happen on occasion.Here is the list of all Windows CMD commands sorted alphabetically along with exclusive CMD commands pdf file for future reference for both pro and newbies. Command Prompt and CMD Commands are unknown territories for most of the Windows users, they only know it as a black screen for troubleshooting the system with some fancy commands.

If you are Linux user then you would know how commands play an important role in different system operations β€” like how we play around with apt-get Ubuntu commands to install, update or upgrade software. In most cases, people open Command Prompt only when they need to repair a corrupted disk, hide certain drives, to create a hacking-like environment etc.

Command Prompt, also known as cmd. Also, you can use these commands to do some exciting hacks through Windows β€” which we will list soon. If you think we forget to add any other CMD commands in this list, please notify us. And soon wait for more command prompt tricks.

Founder and Editor-in-chief of TechLogwho mainly publishes posts related to new technologies, gadgets and open-source world. His main hobbies are web designing, blogging, search engine optimization and making friends. How to play hidden built-in Google games available on your Android smartphone.

Microsoft Editor β€” new intelligent writing assistance to compete against Grammarly. How to create a strong password? How to safeguard your super secure password from…. Leave A Reply Cancel Reply. Save my name, email, and website in this browser for the next time I comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed. This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

Accept Read More. Programming Did You Know? By Sabarinath Last updated Apr 9, 6. Many commands can only be executed if Command Prompt is being run as an administrator.

To open an Elevated Command Prompt β€” Locate the Command Prompt shortcut, then right-click on it to bring up its pop-up menu of options and from the pop-up menu, choose Run as administrator. Accept any User Account Control messages or warnings. Prev Post How to play hidden built-in Google games available on your Android smartphone. You might also like More from author. Prev Next. Mahesh Kumar Singh says 2 years ago.

Jay says 2 years ago. Abdikadir Alasow says 11 months ago. Opel John says 8 months ago.The list includes both internal and external commands applicable to the command prompt. CMD is a command line interpreter β€” a program designed to understand the commands input by a user, from a text file, or any other medium β€” in Windows NT family. COM which was the default shell present in the DOS operating systems and as a command line interpreter in Windows 9x family.

The commands used in the Windows Command Prompt are not case-sensitive, unlike the Linux command line. But individual commands may have various options which can be case-sensitive.

Once you get the hang of these commands, you can do most of your work more quickly without using the normal graphical interface. Note: Some of these commands may require relevant service or Windows version to work correctly. A lot of attention has been paid while preparing it but if you find any discrepancy, feel free to notify.

cmd commands list

Sign in. Forgot your password? Get help. Password recovery. AV Linux Tails 4. Microsoft Corp. I n the case of Windows OS, most users are not even remotely concerned about the Command Prompt or cmd. People know that there is some inbuilt software with a black screen which is used to troubleshoot Windows issues sometimes. For instance, when a user has to repair a corrupt pen drive.

All Rights Reserved.Other DOS operating systems are not part of the scope of this list. In DOS, many standard system commands were provided for common tasks such as listing files on a disk or moving files. Some commands were built into the command interpreter, others existed as external commands on disk.

Over the several generations of DOS, commands were added for the additional functions of the operating system. In the current Microsoft Windows operating system, a text-mode command prompt window, cmd. The command interpreter for DOS runs when no application programs are running. When an application exits, if the transient portion of the command interpreter in memory was overwritten, DOS will reload it from disk.

COM; others are external commands stored on disk. COM will parse the line and attempt to match a command name to a built-in command or to the name of an executable program file or batch file on disk. If no match is found, an error message is printed, and the command prompt is refreshed. External commands were too large to keep in the command processor, or were less frequently used. Such utility programs would be stored on disk and loaded just like regular application programs but were distributed with the operating system.

Copies of these utility command programs had to be on an accessible disk, either on the current drive or on the command path set in the command interpreter.

cmd commands list

Commands that can accept only a single file name are said to accept a filename parameter. Additionally, command line switches, or other parameter strings, can be supplied on the command line. The command interpreter preserves the case of whatever parameters are passed to commands, but the command names themselves and file names are case-insensitive.

Sets the path to be searched for data files or displays the current search path. EXE, or. BAT file name extension. The command redirects requests for disk operations on one drive to a different drive. It can also display drive assignments or reset all drive letters to their original assignments.

Attrib changes or views the attributes of one or more files. It defaults to display the attributes of all files in the current directory.

The file attributes available include read-only, archive, system, and hidden attributes. The command has the capability to process whole folders and subfolders of files and also process all files. These are commands to backup and restore files from an external disk. Implementing BASIC in this way was very common in operating systems on 8- and bit machines made in the s.

Some OEM releases had basic. This command is used to instruct DOS to check whether the Ctrl and Break keys have been pressed before carrying out a program request. The command either displays or changes the active code page used to display character glyphs in a console window. CHKDSK verifies a storage volume for example, a hard diskdisk partition or floppy disk for file system integrity. The command has the ability to fix errors on a volume and recover information from defective disk sectors of a volume.

The CHOICE command is used in batch files to prompt the user to select one item from a set of single-character choices. Earlier versions of DR DOS supported this function with the built-in switch command for numeric choices or by beginning a command with a question mark. Defines the terminal device for example, COM1 to use for input and output. Displays the system date and prompts the user to enter a new date.