Saved Bookmarks
| 1. |
Solve : Report of file names? |
|
Answer» I'm looking for the command to list files in a file structure with sub folders that will not show duplicate names. I'm looking for the command to list files in a file structure with sub folders that will not show duplicate names. There is no single command to remove the duplicates. You'll have to write code to do that.I THINK this would be very difficult to do without using temporary files to store the list of files in. You could basically have to keep checking if the file NAME is found in the temporary file and if it isn't then add it to the temporary file. Quote from: Squashman on April 22, 2014, 11:42:40 PM You basically have to keep checking if the file name is found in the temporary file and if it isn't then add it to the temporary file. That's an effective method, though will be slower for thousands of files due to the file reading. The OP will have to say if speed is a necessary FACTOR. |
|