GCIH · Question #459
Which Windows tool can be used to view the contents of the following file directly in the command shell? C:\Users\JaneD\funnyjokes.doc:file1
The correct answer is C. more. The Windows more command can be used to view the contents of a stream, but you'll need to know the stream's location and name to invoke the more command to view its data. dir with the right option would list file streams but not display or print their contents to the command…
Question
Which Windows tool can be used to view the contents of the following file directly in the command shell? C:\Users\JaneD\funnyjokes.doc:file1
Options
- Acp
- Bdir
- Cmore
- Dnotepad
How the community answered
(42 responses)- A5% (2)
- B7% (3)
- C79% (33)
- D10% (4)
Explanation
The Windows more command can be used to view the contents of a stream, but you'll need to know the stream's location and name to invoke the more command to view its data. dir with the right option would list file streams but not display or print their contents to the command shell. The cp command can create streams, but is not used to view the contents. Notepad wouldn't be used from the command line to view the contents.
Topics
Community Discussion
No community discussion yet for this question.