In this tutorial, we will discuss basic MS-DOS commands that are used by Testers during the testing activities. DOS commands are entered at the DOS prompt using the Command Prompt.
DIR command is used to display the list of files and subdirectories in a directory. Directories are folders that contain files. Unlike files, directories do not have any extensions. DOS commands are not case sensitive.
CLS command clears the current display screen and takes back the control to the prompt. This command is generally used to wipe out the output of the previous command(s) on the screen. We can start fresh with a blank command window.
Command prompt after the CLS command is executed.
CD or CHDIR
The CD command is called Change Directory. This command is used to change the directory. We can specify the directory in the command.