IMC by wuyunqing

VIEWS: 7 PAGES: 4

									IMC Year 1 Information Processing
MS-DOS Familiarisation Activity

1. Switching to MS-DOS

When running Windows,
Click on Start,
                Then Programs
                                       Then MS DOS Prompt




There is an option to run this as a Window.
If you wish to do this, right click on MS-DOS prompt and select Properties

Click on the Screen tab, and select the Window rather than the Full screen option.

                                                                    This effectively keeps your other
                                                                    Windows programs running.

                                                                    If you select Full Screen, then
                                                                    Windows disappears, and you
                                                                    switch completely over to MS-
                                                                    DOS

                                                                    You may wish to maximise the
                                                                    DOS window




Created by UserT&LF: D:\Docstoc\Working\pdf\537bc95c-c2d5-4595-a796-19c7bfae7493.doc   Created: 29-Sep-11 at 12:57
You are now looking at the C: drive and the Windows directory

C:\WINDOWS>                   is a prompt for you to type in a command

At this prompt, type in cd\                      then press the return key.




This switches from the Windows directory to the root at C: and gives you a description of the
C drive

Typing in dir /w at the C:> prompt gives a description of all the root directories and files on
drive C:

You will notice that files have names like NETCHK.EXE

NETCHK is the filename

EXE is the Extension, which tells the computer that the file is of a particular type, in this case
an EXE file, which is an executable file, that is the file can be run directly without an
application. Other extensions such as TXT or DOC are files which can only be opened by
applications such as WORD.

Returning to Windows.
If you type exit at the prompt, the DOS window will close and control will return to
Windows.




Created by UserT&LF: D:\Docstoc\Working\pdf\537bc95c-c2d5-4595-a796-19c7bfae7493.doc   Created: 29-Sep-11 at 12:57
A Summary of Useful MS-DOS Commands
The full set of DOS Commands is huge. A selection is given here just to get you started:

Listing Directories
dir                                              lists the current directory
dir <filename>                                   lists the directory called <filename>
dir /w                                           lists the directory across the screen.


Creating Directories
md <dirname>                                     creates a subdirectory in the current directory
                                                 with the name <dirname>
Changing Directories
cd\                                              changes to the root directory
cd\ <filename>                                   changes to the directory <filename>
                                                 (must be within the current directory)
cd\ c:\msoffice\winword                          Changes to the winword directory,
                                                 (which is within the msoffice directory)
Renaming Directories
rename <original> <newname>                      the directory previously called <original>
                                                 is now called <newname>
Removing Directories
rd <filename>                                    removes the directory called <filename>


Handling Files within the directory
Copy filename.ext A:                             Copy a file onto the A: drive
Copy a:\imc\task1.doc c:\docs\tony.doc
                                                 Copies a file from a directory on the A: drive
                                                 to a file in a directory on the C: drive
Rename a:\imc\task1.doc a:\imc\task2.doc
                                                 Renames a file in a directory
Delete a:\imc\task2.doc                          Deletes a file within a directory




Created by UserT&LF: D:\Docstoc\Working\pdf\537bc95c-c2d5-4595-a796-19c7bfae7493.doc   Created: 29-Sep-11 at 12:57
Copying and Pasting

There is a copy and paste editor in the DOS Window, which can be accessed as
follows:




Click on the dotted box

Use the mouse to highlight a portion of the screen

Then               click on copy.

The portion selected may be pasted within the DOS window, or pasted elsewhere, by
using the paste button (to the right of the copy button,)


Weblinks to further commands are given on this week’s resources page.




Created by UserT&LF: D:\Docstoc\Working\pdf\537bc95c-c2d5-4595-a796-19c7bfae7493.doc   Created: 29-Sep-11 at 12:57

								
To top