
So you’re wondering how to use the command prompt.
Command prompt or CMD has been a part of the windows system since Microsoft launched their first operating system back in 1985.
Let’s get started.
Open up notepad
- Start / all programs / accessories / then select notepad
Type this into notepad
command.com
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: youfilename.bat
Finish off by selecting: Save as type: to all files.
Now make sure you save this file to your desktop.
Command prompt
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 like the one below:
You can also open command prompt by going to this location:
- Start / all programs / accessories/ command prompt
Note: on windows vista, windows 7 & windows 8, 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
cls
If you would like to edit a file on your PC system in dos.
edit
How to find a solution in relation to any command.
help
Displays all files and folders in the current directory.
dir
Displays the contents a page at a time.
dir /p
Displays the files/folders in multiple rows.
dir /w
Displays all files with the extension JPG in the current directory and all subdirectories.
dir *.jpg
Lists the contents of all subdirectories.
dir /s
Displays all hidden files.
dir /ah
Create a new directory.
md
Exit your command prompt.
exit
Then press the enter key on your keyboard.


















