Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.
Computer Hope forum e-mail issues and down time
0 Members and 1 Guest are viewing this topic.
C:\Batch>dir /a-d /b /s *.txtC:\Batch\temp\2.txtC:\Batch\temp\3.txtC:\Batch\temp\4.txtC:\Batch\temp2\2.txtC:\Batch\temp2\3.txt
I'm looking for the command to list files in a file structure with sub folders that will not show duplicate names.What I have used in the past is: dir *.* /s ---but this will give me all dups.
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.