DOS Tutorial

MS-DOS Operating System Most Personal Computers run under the MS-DOS Operating System. MS-DOS being the Microsoft Disk Operating System.

It is estimated that almost 10 million machines run under the MS-DOS Operating System and some 20,000 or more end-user applications have been published to run with it.

 

The Operating System is the program which provides organized services to the computer user and the application programs that they wish to use.
These services consist mainly of access to the hardware resources such as the disk drives, keyboard, etc.

 

Set the Date and Time

Most computers on campus have an internal clock that will automatically set the date and time for us when we turn the computer on. However, if our computer does not have this feature or our computer has two floppy drives, we will need to do the following steps to set the date and time.   …

Set the Date and Time Read More »

Check the Date and Time

DOS will let us to check or change the date and time once it has been set. The procedure to do this is as follows: Directions: 1. Type: date and press return. 2. If the correct date is displayed, simply press return. If the date is incorrect, type the correct date and press return. 3. …

Check the Date and Time Read More »

Diskcopy Command

Sometimes there is a need to copy all the files on one floppy diskette to another floppy. First we will need a blank formatted disk.   Directions: 1. Type: diskcopy a: a: and press return. 2. When asked to put in the source disk, put in the diskette that has the information we want to …

Diskcopy Command Read More »

Comparing two diskettes

  We use the DISKCOMP command to check that two diskettes are EXACT copies of each other.   NOTE: – They MUST both be of the SAME capacity i.e. 720Kb OR 1.44Mb   It is usually used immediately after using DISKCOPY command to ensure that both copies are the same.DISKCOMP refers to the original diskette …

Comparing two diskettes Read More »

Wildcards

  Wildcards are symbols that enable us to perform an MS-DOS operation on more than one file at a time. A file specification that contains wildcards can refer to more than one file because it gives MS-DOS a pattern to match.   MS-DOS searches for any file whose filename or extension matches the pattern. There …

Wildcards Read More »

Help

It can be used in two ways: 1) HELP {ENTER} 2) HELP {command help needed on} {ENTER}   The first way will invoke the full list of MS-DOS commands that we can scroll through using the cursor keys and the TAB key, or point and click the command we are interested in for the opening …

Help Read More »

What’s a batch file?

A batch file is simply a text file that we can create by using unformatting text editor tools. e.g. the EDIT command in MS-DOS.   A batch file must be named with an extension BAT. e.g. autoexec.bat, menu. bat   A batch file is a program which contains MS-DOS commands. Each command used in the …

What’s a batch file? Read More »

How does a batch file work?

Now, consider the following instructions md \newdir copy \dos\*.exe \newdir cd \newdir dir cd \     Executing commands at DOS prompt: Normally, we can execute only one MS-DOS command at one time (except we use a “trick”). We cannot give another instruction before DOS has done our current command.   If we manually instruct …

How does a batch file work? Read More »