SDIR

How to redirect and configure output?

When used in the command prompt, Sdir can determine the correct width to use for a visual display. When outputting to a file, the optimum width is unknown and may want to be specified. To force a particular display width, use the "-cw" option followed by the desired width.

Screenshot of sdir

Because files are often used as ASCII, by default the display written to a file is black and white with no extended characters. This results in a degraded display compared to what the console can display. The "NTTERM" environment variable can be used to output extended characters or output color formatting in the form of ANSI/VT100 escape sequences. Multiple keywords can be combined with a semicolon.

Screenshot of sdir

By default files are output as ASCII, which is generally useful for data exchange. However, ASCII cannot describe the full set of possible file name characters that the console is capable of displaying. To force the output to be Unicode (UTF16), use "-u".