Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Here we use Output Monitors to solve the problem of finding the most recent file in a directory. In this example, we want to find the most recently changed file in the c:\builds\source directory. This DOS command lists the files in order from oldest to newest: "dir /b /od /a-d c:\builds\source\*.* ".

The output is as follows:

...