TweetFacebookShareThis

Command Prompt

Previous Page    Next Page

To access the command line go to Start, Programs, Accessories, Command Prompt or Start, Run type cmd in the box and Click OK

Using the command line interface

Below uses the ipconfig command to see the computers IP address

Computer Studies ipconfig

For a more detailed view of a computers IP addresses type ipconfig /all at the command line

Computer Studies ipconfig all

The ping command is used to see if another computer on the network or internet is responding

Computer Studies ping

Below are some useful commands

Files and Folders

(Files have extensions; Folders are in brackets)

Type c:\cls this command clears the screen

Type c:\cd\ this command changes the directory

Type c:\cd\windows this command changes the directory to the windows directory

Type c:\dir this command opens the windows directory

Type c:\dir/w this command opens the directory in a wider view making it easier to read

Type c:\dir/w/p this command opens the directory in a wider view making it easier to read and opens it one page at a time

Type c:\documents and settings this command opens the documents and settings directory you can also type c:\"documents and settings" to open the directory

Type c:\cd\documents and settings\bill this command changes the directory inside the documents and settings list

Type cd desktop this command opens a new directory in the bill directory, this is used as a shortcut instead of typing the full command that would be c:\cd\documents and settings\bill\desktop

To move out of the directories you can type cd .. This command can be repeated until your back to the c:\> prompt

To get into another drive like the CD-Rom drive to find out what's on the disc you'd type c:\>e: or whatever the drive letter is

You can also press F3 and the last command will reappear

Opening up programs from the command line

c:\>sol for the solitaire program

c:\>write for the wordpad program

c:\>edit to open the Dos text editor

Useful web sites
support.microsoft.com
technet.microsoft.com
Command Prompt

Previous Page    Next Page

Recommended Books