Which command is used to send the contents of file named REPORT/TXT to the standard printing device? A. TYPE REPORT.TXT TO PRINTER B. TYPE REPORT.TXT > PRN C. TYPE REPORT.TXT | PRN D. TYPE REPORT.TXT | PRINTER E. None of the above

”TYPE
”TYPE
”TYPE
”TYPE

The correct answer is C. TYPE REPORT.TXT | PRN.

The TYPE command is used to display the contents of a file on the screen. The | character is used to redirect the output of a command to another device. In this case, the output of the TYPE command is redirected to the standard printing device, which is usually the printer connected to the computer.

The other options are incorrect for the following reasons:

  • Option A: The TO keyword is not used with the TYPE command.
  • Option B: The > character is used to redirect the output of a command to a file. In this case, the output of the TYPE command would be redirected to a file named PRN.
  • Option D: The | PRINTER syntax is not valid.
  • Option E: None of the above options are correct.
Exit mobile version