These commands (cmdlets) write the content of one or more text files to the standard output stream. Using with set alternate to concatenate multiple files.
The commands have the following syntax:
{cat|type} fileList
Defines a comma-separated list of absolute or relative file names display. Unquoted argument tokens are automatically stringified. Prevent automatic quoting for expressions by placing expression code in parenthesis.
Examples
Display Windows boot options:
cat c:\boot.ini
Concatenate two files:
set alternate to output.txt cat input1.txt, input2.txt set alternate to
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |