Command Prompt: 5 basic commands you should know

A command prompt (or just prompt) is a sequence of (one or more) characters used in a command-line interface to indicate readiness to accept commands. It literally prompts the user to take action. In this article, we will discuss 5 basic commands of the command prompt in windows.

1. How to change the directory (folder) in Command Prompt (CMD)

first of all, go to the command prompt. then write in the command prompt cd(change directory) space current drivename\foldername:cd c:\foldername then press the enter button from the keyboard.

photo by: Riyaz Hossain

2.How to get out of a folder in command prompt(CMD)

When you need to go one folder up form the current folder use cd .. the command.

photo by: Riyaz Hossain to clear the command prompt(CMD) screen?

to clear the command prompt screen use cls command

to clear the command prompt screen use cls command

4. How to change the drive in Command Prompt (CMD)

the shortcut command of changing drive is driveName: example: D:

change the drive location

5. How to view the contents of a directory in Command Prompt (CMD)

to view the all document and content of your current command prompt location the command is dir

to access a folder we can use dir command

I am interested to learn and to teach.