More public domain Dos utilities usage document v2.0a:

Utility cohesion is accomplished by allowing i/o stream into the command line
input using standard input redirection.

Examples:

 Whereis cohesion:

  Using Whereis for redirection, for example:

   Whereis *.sys /r/c | Findy "{"

  will locate all files with extension .sys in the current directory and its
  subdirectories, find filenames containing the curly bracket, and list them.

 Using Whereis with Zsort and More:

   Whereis c:\*.bi /r/c | Zsort /c | More

  will locate all files with extension .bi on drive c: and its directories,
  and list them in sorted order.

 Using Tee functions:

   Whereis c:\*.* /r/c | Zsort /c | Tee > Filelist.Dat

  will locate all files on drive c: and its directories, sort the list, and
  display the list to the screen and copy the list to the specified file.

 Whereis can accept redirected input, such as:

   Stree c:\ /r/c | Whereis *.txt /c | Zsort /c | Tee > Sortlist.Txt

  will send all directory names on drive c: to Whereis which will search each
  directory for filenames with the extension .txt, sort the list, and
  display the list to the screen, and copy the list to the specified file.

 Whereis can accept redirected input, with other Stree options, such as:

   Stree c:\ /r/c /t12:00:00-15:00:00 | Whereis *.dat /l/c | Tee > Filex

  will send all directory names on drive c: in the specified time range to
  Whereis which will search each directory for filenames with the extension
  .dat and display the double line list to the screen and the specified file.

More redirecting notes:

 The Type, Typea, or Typey commands can be used to send file output to the
 utilities. If filelist.txt contains a list of files containing drive, path,
 and/or filenames, it can be sent to a utility, for example:

  Type filelist.txt | Xdir /c

Example notes:

 With the above examples, any of the Dos utilities here can be utilitized
 together. Note also that the output of each utility, in the form of
 filenames and pathnames, are the lists of the files acted upon, not the
 resultant filenames. i.e. the whereis utility lists the files found, the
 touch utility lists the files touched, the copyit utility lists the files
 copied -- not the destination -- therefore allowing all filenames acted
 upon to be redirected to the next utility.

 Given the number of combinations of these utilities, and their options, it
 would be difficult to document the possible commands used at the Dos prompt.
 All that can be noted then is the fact of there being many correct
 implementations of the utilities and there being incorrect ones. For
 example, the following commands would be wrong:

  Whereis *.* /r/c/l | Zsort /c | Stree /c

   would sort the double line list of files and not only send the list of
   files to stree, which are not directories for stree to search for, but
   also send the sorted list of file descriptions to stree, which are not
   directories for stree to search for either;

  Tee | Whereis /c > filelist.dat

   would not send any list to tee to the screen, send nothing to whereis,
   and would create a zero-length output file.

Final note:

 The importance of the /c switch, standard throughout nearly all these
 utilities, causes any keyboard prompts to be disabled. This feature allows
 for more redirection cohesion by forcing all the output to be piped to
 each following utility specified.

 (note /l is lowercase L, not 1).

 Also note, each utility will port the command line from the environment
 variable if none is present on the utility command line, for example:

 SET TOUCH=*.DAT /C

 where each variable is the name of the utility program.

-end-
