CSIT 321
Lab 14
Oct. 25, 2007
Name: ___________________________

1. Go to http://www.1001freefonts.com/hfonts5.htm and download theHorror font.  Place your name below in 36pt Horror font. 

2. What information comes from the systeminfo command?

3. What does the command getmac do?

4. What does the command arp –a do? 

5. Using the command ipconfig /all, account for the IP(s) seen in the arp table above.  

6. What does the command assoc > d:\AssocResults.txt do?  (If d is the CD-DVD for you then change to your XP drive letter.)

7. Describe the differences between the more command and the type command.

8.  Use the find command (with various options) to count the number of lines in the poem The Bells (file provided) containing the word “bells”.  Make it a case-insensitive search.  What command did you use?   

9.  Telnet to the alpha.  Run a finger command on your last name.  Paste a screen capture of the results below. 

10. Run the Unix/Linux quota command.  Paste a screemn capture.

11. Create a file like the following in Notepad and save it with a .bat extension. 

With your command window In the folder containing the above file, use the title of your file as a command. Show the results in a screen capture below.  

The file you have created is known as a batch file, the .bat extension tells the operating system to treat it differently that it would a regular text file. Add a line at the beginning as shown in the following

Paste a screen capture of the executing the above batch file below. 

Edit the line at the beginning as follows 

with an @ sign at the beginning of the line.  Run your batch job again and paste a screen capture below. 

12. If you change your location and attempt to run your batch file, the computer will not understand it.  The system is trained to look for .bat, .exe and .com files in the current directory as well as a set of standard locations.  If the appropriate file is not found in one of these places, the command is not understood. The locations that the system looks in can be found by running the command path.  Run the command path and paste a screen capture below. 

13. If you are still mapped to \\172.18.202.201\Public, disconnect and then determine the syntax of a net use command that will make this connection.  Place a copy of the syntax below.

 
14. Disconnect. Open Notepad and paste a copy of your command from above in a file and save it as MapDrive.bat.  Double click on the file.  What happens?

15. Disconnect.  Place the file in the folder so that the command will be executed for all of your users when any of them logs on.  (It's somewhere in Documents and Settings on your XP drive.) What is the (full) path? 

16. Run the command cleanmgr /sageset:99.  (99 is just an example, you could use any number between 0 and 65535).  What does this command with this particular “switch” do?

17. Write a batch file with the command cleanmgr /sagerun:99.  (Do NOT name the file cleanmgr.bat, that will lead to an infinite loop.) Paste a screen capture of the file in Notepad.

18. Go to Start/All Programs/Accessories/Systems Tools/Scheduled Tasks. Click on the Add Scheduled Task icon, use the Browse button to select the batch file made above. Schedule the task weekly and paste a screen capture below showing the result.