Windows 95 Assignment 2 - Section 040

This assignment is for Section 040 - Ian Allen.

Hand in 8 printouts. Staple them together with your name written at the upper left corner.
Label each printout properly (T5-1, T5-2, T5-3, T5-4, T5-5, T6-1a, T6-1b, T6-3) at the upper right corner of the page. Printouts with no label or wrong labels receive zero marks.

Tutorial 5. Follow the Tutorial 5 text from Pages 187-220. (Five printouts)

  1. Note: You must create a startup disk at home.  You cannot create a startup disk in an Algonquin lab.

    After you have created the start up diskette as illustrated in p. 193-196, add a new folder to the A: root directory and call it sysfiles. Copy the following files from your hard disk into the sysfiles folder on your A: diskette:


    Generate a directory list of A: including the new subfolder's list and print it.  (See the last assignment on how to use DOS to get a directory listing and put it into a file for printing.)  Make sure the directory listing shows all the subfolders!

  2. Continue following the text to page 201 where you finish performing the interactive boot with safe mode. Restart the computer and boot it with the menu option #2 Logged (\BOOTLOG.TXT). This option generates a BOOTLOG file. Display the resulting file in WordPad, Word, or WordPerfect which allows you to print one page at a time. Print the last page only.  Do not print the whole file!


  3. Continue following the text to page 220. Print the screen when it matches Figure-5-21, skip printing on pages 212 and 216-7.


  4. Do Case Problems 2 on page 222. If you have a device connected to COM1, print as illustrated in Step 7 and for Step 8 write on the printout the type of device connected to that port, and skip Step 9.  If you only have a COM2 device, do Steps 5 through 8 for COM2 instead of COM1.  Do either of COM1 or COM2 but not both.


  5. Do Case Problems 4 on pages 223-4. Capture the screen as you finish step 10. Paste it in Paint and type in your Step 11 answers on the same screen with Paint's text tool [A]. Print the screen.


Tutorial 6. Follow Tutorial 6 text from pages 225-259. (Three printouts)
  1. From page 229 on, use EDIT instead of 123. You should find EDIT.COM in the C:\Windows\Command folder. On p.232, assign DOS Edit as the name of the icon, change the icon figure to an editor icon, and the working directory to A:. (You will need it in COBOL).

    For pages 234-240, instead of opening the 123 file, open the BOOTLOG.TXT file, mark the first 10 lines and paste it on WordPad.

    For pages 240-245, and page 253, replace the session of the Lotus 123 file with the following:

    Create a DOS batch file containing the DOS commands that perform the tasks given below.  A DOS batch file is a text file containing DOS commands, one command per line.  The file name you choose to hold the commands must end in the extension ".bat".  For example, you might use the name mybatch.bat.  You can create this file using any plain-text text-editor, such as Notepad in Windows, or EDIT in DOS.  (You should not try to use a word processor to create the file, unless you take special care to save the file as "text only".)  After you have created the file, you should be able to see its contents using either the TYPE or MORE commands in DOS.

    These are the commands that should be in the batch file, one command per line:

    1. The first line of the batch file should be a comment line with your name on it,
    2. listing the files on the A: root folder and its subfolder(s),
    3. displaying the help information abut attrib,
    4. displaying the help information about sys,
    5. displaying the help information about mem,
    6. executing mem with the debug option and direct the output to a file named mem.txt,
    7. displaying the contents of mem.txt with the type command,
    8. displaying the contents of mem.txt with the more command,
    9. creating a new folder on A: and call it sysfiles,
    10. copying C:\AUTOEXEC.BAT into the new folder,
    11. copying C:\CONFIG.SYS into the new folder.

    Run the batch file and test it using a new diskette.  To run the batch file, go to the directory in which the file resides and type its name at the DOS prompt, e.g.  C:\> mybatch

    To avoid error messages from your batch file, make sure you erase the AUTOEXEC.BAT and CONFIG.SYS files, and remove the sysfiles directory, from A: before each test.  If you do not do this, you will get error messages when your batch file tries to create the directory and copy the files.  Make sure the files are not already there, and make sure the directory is not already there.


    1. After you have tested the batch file and are sure it works, print the file.  (Do not print the output from the file.  Print only the file of DOS commands itself.)
    2. Print the text file mem.txt created by your batch file.


  2. Continue following the text on pages 249-259, replace 123 program with EDIT program when you are adding the DOS application to the Start Menu.


  3. Do Case Problem #2 on pages 261-2. Print as illustrated in step 10.