Question: Ask the user to type the path to a text file; this is the text file with the computer names in it. Example: C:UsersUserDesktopComputers.txt For

Ask the user to type the path to a text file; this is the text file with the computer names in it.

Example: C:\Users\User\Desktop\Computers.txt

For each of the computers listed in the text file, retrieve the size and free space of the C drive and retrieve how much memory (RAM) the computer has.

Save your findings as three professional looking files in the C:\Reports\ directory.

  • Format the information as a table with headings, columns, and rows.
  • Your file should start with a line that includes the report's name (Inventory report) followed by one or more lines that include a two-sentence description of what the report is.
  • Use the following file name: Inventory.txt
  • Use of new lines, ascii characters, and other elements to improve the look of the report should be utilized.

You should include the following information in your output, in the following order:

  • Computer name.
  • How much memory (RAM) the computer has in GB.
  • IP address.
  • C drive size in GB.
  • C drive free space in GB.

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!