X
There is no widget. You should add your widgets into Fixed sidebar area on Appearance => Widgets of your dashboard.

Blog

Keith Griffiths > News > Computers > How to use the Command Prompt on a windows machine

How to use the Command Prompt on a windows machine

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:

C:>dir/w/p

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)

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: yourfilename.bat

Finish off by selecting: Save as 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 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

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.

Leave a Comment

*

css.php