Question: Create a Windows batch file. The batch file will contain the following: 1. Remark statements that: a. Your full name b. Course Number C. Semester

 Create a Windows batch file. The batch file will contain the

Create a Windows batch file. The batch file will contain the following: 1. Remark statements that: a. Your full name b. Course Number C. Semester d. Date project submitted 2. Ask the user interactively: a. Boot drive letter of the computer b. Computer name C. Computer Model 3. Check to see if the boot drive in #2 exists with the folder cfrs500: a. If yes cd BootDrive cfrs500 b. If no, make the directory BootDrive cfrs500 4. Check to see if casefile.txt exists: a. If yes goto the label DONE b. Tell the user that data already exists in the cfrs500 folder and exit the program 5. Output the variables in #2 to the file BootDrive cfrs500\casefile.txt Execute the correct commands redirecting output to command-name.txt in BootDrive cfrs500 in order to get the output below: a. Environment variable b. System information C. Mac address (You cannot use the ipconfig command) d. DNS table e. Export the system.evtx file to BootDrive cfrs500\sys.evtx 7. Use a FOR loop to: a. Execute hostname and send the output to a variable host b. Output the variable host to BootDrive cfrs500\casefile host.txt 8. Use an if statement to determine if sys.evtx exists (from #4) a. If sys.evtx exists echo sys.evtx successfully created In the above, if you see something in red, replace it with what it says (e.g. command-name for nbtstat would be nbtstat.txt.) 6. For #5, you need to execute the proper command to obtain the data listed. Create a Windows batch file. The batch file will contain the following: 1. Remark statements that: a. Your full name b. Course Number C. Semester d. Date project submitted 2. Ask the user interactively: a. Boot drive letter of the computer b. Computer name C. Computer Model 3. Check to see if the boot drive in #2 exists with the folder cfrs500: a. If yes cd BootDrive cfrs500 b. If no, make the directory BootDrive cfrs500 4. Check to see if casefile.txt exists: a. If yes goto the label DONE b. Tell the user that data already exists in the cfrs500 folder and exit the program 5. Output the variables in #2 to the file BootDrive cfrs500\casefile.txt Execute the correct commands redirecting output to command-name.txt in BootDrive cfrs500 in order to get the output below: a. Environment variable b. System information C. Mac address (You cannot use the ipconfig command) d. DNS table e. Export the system.evtx file to BootDrive cfrs500\sys.evtx 7. Use a FOR loop to: a. Execute hostname and send the output to a variable host b. Output the variable host to BootDrive cfrs500\casefile host.txt 8. Use an if statement to determine if sys.evtx exists (from #4) a. If sys.evtx exists echo sys.evtx successfully created In the above, if you see something in red, replace it with what it says (e.g. command-name for nbtstat would be nbtstat.txt.) 6. For #5, you need to execute the proper command to obtain the data listed

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!