--DUPLICATE-- Function: DUPLICATE.COM provides a list file of all duplicate file names in a directory tree which can useful in cleaning up the directory tree by eliminating duplicates and outdated versions of files. In normal use it is submitted as a batch job which provides a list file from the users default directory on down through the tree. Note that this command procedure is quite a time hog, particularly once it starts reading all the file names from DCL. A real, compiled program to do that part would be useful if DUPLICATE were run often. Sources: DUPLICATE.COM - Builds a DIR file which is then sorted to put duplicate names next to one another. The file names are extracted in a loop which outputs to the list file each time a file name matches the previous file name. Compile: N/A Link: N/A