This means that if we search the executable for any filename with the extension DLL we can come up with a list of possible candidates. Now, once we have the list, we can go through each name on the list and check if it exists on the computer. It is not necessary to search the entire computer. The program first looks in the current working directory. It next looks in each directory specified in the path.
Many computers have paths that are hundreds of characters long that include dozens of directories.
This is not a problem since we just go through them all one at a time. When the program finds a DLL, it lists the directory, the size and the date of the file. Occasionally the DLL appears in more than one directory. This can be a disaster if the program expects one version of a DLL and actually tries to use a different version. This utility program demonstrates the use of some hard drive functions and in particular random access of the hard drive.