You want to view the contents of autoexec.bat on the screen using the “type” command, but it scrolls by too quickly, what switch do you use to make it pause? A. type c:autoexec.bat /p B. type c:autoexec.bat/more C. type c:autoexec.bat|pause D. type c:autoexec.bat|more. E. None of the above

type c:autoexec.bat /p
type c:autoexec.bat/more
type c:autoexec.bat|pause
type c:autoexec.bat|more. E. None of the above

The correct answer is: B. type c:autoexec.bat/more

The /more switch pauses the output of the type command after each screenful of text. This allows you to read the output at your own pace and scroll up and down as needed.

The /p switch is also used to pause the output of the type command, but it does so after each line of text. This can be useful if you want to make sure that you don’t miss anything, but it can also be slow if the file is long.

The | character is used to pipe the output of one command to the input of another command. In this case, we are piping the output of the type command to the input of the more command. The more command will pause the output of the type command after each screenful of text, just like the /more switch.

The type command without any switches will simply print the contents of the file to the screen. If the file is long, it will scroll by very quickly.

Therefore, the correct answer is B. type c:autoexec.bat/more.

Exit mobile version