CSIT 321
Lab 17
March 27, 2019
Name: ___________________________

1.	Go to https://www.1001freefonts.com/ofonts17.php download the Olde English Regular font. Unzip the file and place it in the Font folder found on the Control Panel (small icons view). Place your name below in 36pt Olde English Regular font. Paste a screen capture.

2.	Go to the Control Panel/User Accounts and click on Manage another account, then Add a new user in PC settings. Under Other users, click on Add someone else to this PC. Click I don’t have this person’s sign-in information. Click on Add a user without a Microsoft account. Supply a username and password, etc.  Paste a screen capture showing you have done so.

 
3.	What is the difference between a Microsoft account and a Local account? 

4.	What information comes from the systeminfo command?

5.	What command would you use to pipe that information into a text file?

6.	Describe the differences between the commands more filename command and the type filename command (especially if the amount of content of filename is large).

7.	What does the command getmac do?

8.	Are the MAC addresses of the host and the virtual machine the same or different?  

9.	A MAC address consists of how many hexadecimal characters? How many bits does that correspond to?  How many possible MAC addresses are there then?

10. What does the command arp –a do? Don’t just paste a result, explain the output in words. 

11.	Is the default gateway in the list made by the arp –a command?  How do you know?

12.	I saw the address 224.0.0.22 in my list.  What is that for? 

13.	Use the find command (with various options) to display the lines in the poem The Bells (file provided) containing the word “bells”.  Make it include line numbers. Make it a case-insensitive search.  What command did you use?   (Use find /? for help.)

14.	What was the command we used in Linux that was like find? 

15.	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. (You don’t need the extension to run the command.) Show the results in a screen capture below.  

16.	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. 

17.	Edit the line at the beginning as follows 

 http://stackoverflow.com/questions/203090/
with an @ sign at the beginning of the line.  Run your batch job again and paste a screen capture below. 

18.	What if the effect of adding the lines shown below? 

For /f "tokens=2-4 delims=/ " %%a in ('date /t') do (set mydate=%%c-%%a-%%b)
For /f "tokens=1-2 delims=/ " %%a in ('time /t') do (set mytime=%%a%%b)
echo %mydate%_%mytime%
REM https://stackoverflow.com/questions/203090/how-do-i-get-current-datetime-on-the-windows-command-line-in-a-suitable-format

19.	What is the purpose of the last line in the batch file shown above? 

20. Explain the difference in the outcome of the following two batch-file for loops. 

REM ref: http://www.csie.ntu.edu.tw/~r92092/ref/win32/win32scripting.html
@echo off
FOR /L %%i IN (1 1 10) DO echo %%i. All work and no play makes Jack a dull boy. 
FOR /L %%i IN (1 1 10) DO echo|set /p= All work and no play makes Jack a dull boy. 

21.	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. 

22.	Navigate to the root of the file system in a command window.  Enter the command dir /s *.bat . Open one of the batch files you find and paste its contents below. 

23.	What does the /s option(switch) above do? 

24.	Rename one of your .bat files above giving it the extension .cmd this time.  Does that affect it when you run it? 

25. On the Control Panel go to Administrative Tools.  List or give a screen capture of some of the items found there. 

26.	Open up a Task Manager.  Click on More details. Sort the Process by Memory Usage (descending).  Report which process is using the most memory. 

27.	What is in your list on the task Manager’s Start up tab?

28.	What are the processes csrss.exe and dwm.exe for? 

csrss:

dwm: 

29.	Under the Details tab what process(es) do you find that are connected with VMWare?

30.	Which two processes have the lowest PIDs in the list? 

31.	Under Services I found the following items.  What do they stand for?

DHCP:

EFS:

LSM:

SENS: