Start menu, Programs, Run, cmd (or cmd.exe) command.  From the DOS command prompt that cmd.exe provides, answer the following.

 

1.        What is the IP number for the web server at Iowa State University?  Use the name www.iastate.edu to get there.

 

2.        What is the actual name of the computer that is Iowa State’s web server?

 

3.        How many hops are involved in getting from your computer to the Iowa State web server?

 

4.        What is the IP number of the web server at Dartmouth, which is accessed by using www.dartmouth.edu?

 

5.        What is the name of the web server computer at Dartmouth?

 

6.        How many hops are involved in moving data packets from the Dartmouth web server to your computer?

 

7.        Type the following commands to answer the question as to what file or program is associated with what 3 or 4 character extension?

 

·         Assoc .xls

 

·         Assoc .htm

 

·         Assoc .txt

 

·         Assoc .html

 

·         Assoc .zip

 

8.        Type the word help followed by the command name assoc to read more about the assoc command.  What is the full syntax for the command would you type to remove the association for .023 file extension?

 

 

9.        What command would you use to change the association for .html files from what it used to be to a new association, the same association that .txt files have?

 

 

10.     Type help sort to find out more about the sort command (in Windows NT in the Wright Hall computer labs, as the cmd.exe DOS command prompt).

 

a)       Explain the two different ways that the SORT command can be used by rewriting the syntax that you are shown by HELP SORT.

 

b)       Show how you could store the results of a SORT command into a file named mySortedResults.txt by writing the exact command here.

 

c)       Show how you could SORT the contents of the file SOMEFILE.txt on your diskette (A: drive for diskette) and display them on your screen, one screen at a time so you can read them at your own speed.

 

d)       Show the command that would be used to show all of the file associations in reverse sorted order by the first character after the = for the associations which have only three characters (some have more than 3, so do not worry about those).  Examples:  .txt and .doc and .xls and .psd are all standard 3 letter associations.

 

e)       Show what characters the SORT command requires for the version one or line one version of SORT, according to the online HELP SORT output for Windows NT in the Wright 112 lab.  What needs to be added to the command syntax description to correct the error in HELP SORT.  Hint:  [] always enclose something that is OPTIONAL and not necessary for the described command.

 

11.     How big is the CMD.EXE program?  Use the DIR command and the CD command to find out it’s size in bytes.  How big is the CALC.EXE window’s calculator program?  Note they are both in the WINNT folder, system32 folder.  Compare to how many KB that Start menu, Find, Files or Folders reports for each file.