In the MSDOS editor type in some lines of text and save as JUNKl.TXT in the COURSEl sub-directory

Authors Avatar

Assignment 1 – Operating systems

Open a MSDOS Command Prompt Window from the Start, Programs Menu system.

Screenshot of open command prompt

1. Format a new floppy disk

C:\WINDOWS>a:

A:\>format a:

Insert new diskette for drive A:

and press ENTER when ready...

Checking existing disk format.

Verifying 1.44M

Format complete.

2. Set the volume name to 'CHAOS 1'

Volume label (11 characters, ENTER for none)? CHAOS 1

    1,457,664 bytes total disk space

    1,457,664 bytes available on disk

          512 bytes in each allocation unit.

        2,847 allocation units available on disk.

Volume Serial Number is 3546-19FA

Format another (Y/N)?n

A:\>

3. Set up the directory structure as specified below

A:\>md\home

A:\>md\work

A:\>md\home\letters

A:\>md\home\accounts

A:\>md\work\course1

A:\>md\work\data

A:\>md\work\maths

A:\>tree

Bad command or file name

The TREE command does not work on my version of MS DOS (i.e. Windows ME) so I have used the DIR command to show that the directories and files  have been set up as required.

A:\>dir

 Volume in drive A is CHAOS 1

 Volume Serial Number is 3546-19FA

 Directory of A:\

HOME           <DIR>        15/06/03  18:40 home

WORK           <DIR>        15/06/03  18:40 work

         0 file(s)              0 bytes

         2 dir(s)       1,454,080 bytes free

A:\>dir\home

 Volume in drive A is CHAOS 1

 Volume Serial Number is 3546-19FA

 Directory of A:\home

.              <DIR>        15/06/03  18:40 .

..             <DIR>        15/06/03  18:40 ..

LETTERS        <DIR>        15/06/03  18:40 letters

ACCOUNTS       <DIR>        15/06/03  18:40 accounts

         0 file(s)              0 bytes

Join now!

         4 dir(s)       1,454,080 bytes free

A:\>dir\work

 Volume in drive A is CHAOS 1

 Volume Serial Number is 3546-19FA

 Directory of A:\work

.              <DIR>        15/06/03  18:40 .

..             <DIR>        15/06/03  18:40 ..

COURSE1        <DIR>        15/06/03  18:41 course1

DATA           <DIR>        15/06/03  18:41 data

MATHS          <DIR>        15/06/03  18:41 maths

        ...

This is a preview of the whole essay