The command prompt, command.exe or CMD has been a part of the windows system since Microsoft launched their first operating system back in 1985.
CMD or command has many uses including: clearing your computer’s memory cache, FTP to another server (this isn’t a secure connection to a server or system), editing files, tracing network issues and working with files and directories.
To open or use the Command Prompt, click Start, click Run, type cmd, and then click OK. At the command prompt, type the following:
This command above displays all files and folders in that directory.
Let’s get started
Open up notepad
– Start / all programs / accessories / then select notepad
Type this into notepad (this works with Windows 95, 98, ME, XP, Vista, Windows 7, Windows 8 and Windows 10)
Then select: file / save as / in the file name you can type any name you like as long as you use the extension .bat
for example: yourfilename.bat
Finish off by selecting: Save as all files.
Now make sure you save this file to your desktop.
Go to your desktop and you will see a new icon, this new icon you have created is known as a batch file.
Double click your left mouse button, by selecting this batch file.
You should see a command prompt window appear as seen below:
You can also open a command prompt by going to this location:
– Start / all programs / accessories/ command prompt
Note: on Windows Vista, Windows 7, windows 8 and Windows 10, you will need to run Command prompt as an administrator, to do this, right click on the command prompt icon and select run as administrator.
Or you can select
Start / run
A pop up box appears type in this box cmd and click ok.
Here are a few commands to get you going
How to clear the screen
If you would like to edit a file on your PC system in dos.
How to find a solution in relation to any command.
Displays all files and folders in the current directory.
Displays the contents a page at a time.
Displays the files/folders in multiple rows.
Displays all files with the extension JPG in the current directory and all subdirectories.
Lists the contents of all subdirectories.
Displays all hidden files.
Create a new directory.
Exit your command prompt.
Then press the enter key on your keyboard.