37.3.2 Command-line switch -o output

The DCL -o switch specifies an output file name (with or without path), or an output file extension: 

[spacer]

-o file

Output file path or name, without extension. Applies only to the first input file name that follows this option. Overrides, for the next file name only, any –oext or –odirectory that appears earlier on the command line. The default is the same name as the input file name, but with the ext extension.

-o ext

Output file ­exten­sion. Overrides dcl default output file extensions. Applies to all following input file names on the command line until dcl encounters a new -o ext. If no output type is specified via -t, the default value for ext is .rtf. The value for ext must have a period as the first character. If the period is not present, ext is interpreted as a file name.