Question: 1. Create a batch file named message.bat. It must display a message similar to the one displayed below. Be sure to use environment variables and

1. Create a batch file named message.bat. It must display a message similar to the one displayed below. Be sure to use environment variables and commands where appropriate and include spacing and formatting as presented here. The version of windows and the ip address should be specific to the machine youre using, not whats displayed below. The OS Name should be extracted from the systeminfo commands output. Please do not just display all constants; the output for this batch file should be different whenever run by a different user on a different computer.

Sample Execution: C:\batch\>message

Hello john, you are currently logged in at a computer named computername

It is 12:20:49.92 on Wed 12/27/2017

You are using a computer which is currently running:

OS Name: Microsoft Windows 10 Enterprise

The IP Address on your system is:

IPv4 Address....................... : 192.168.1.101

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!