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)
C:\AUTOEXEC.BAT
C:\CONFIG.SYS
C:\WINDOWS\WIN.INI
C:\WINDOWS\SYSTEM.INI
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!
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:
- The first line of the batch file should be a comment line with your name on it,
- listing the files on the A: root folder and its subfolder(s),
- displaying the help information abut attrib,
- displaying the help information about sys,
- displaying the help information about mem,
- executing mem with the debug option and direct the output to a file named mem.txt,
- displaying the contents of mem.txt with the type command,
- displaying the contents of mem.txt with the more command,
- creating a new folder on A: and call it sysfiles,
- copying C:\AUTOEXEC.BAT into the new folder,
- 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.