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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started