11-02-2013, 06:02 PM
I am enumerating a directory through the dialog but it is returning different paths to the same files.
Macro playground
For example, every file in My Documents is returning 4 times
C:\Documents and Settings\Eric\My Documents\temp Crypt\data\textStorage.dat
C:\Users\Eric\My Documents\temp Crypt\data\textStorage.dat
C:\Documents and Settings\Eric\Documents\temp Crypt\data\textStorage.dat
C:\Users\Eric\Documents\temp Crypt\data\textStorage.dat
I think this is related to special folders but I don't see how to exclude them
Macro playground
For example, every file in My Documents is returning 4 times
C:\Documents and Settings\Eric\My Documents\temp Crypt\data\textStorage.dat
C:\Users\Eric\My Documents\temp Crypt\data\textStorage.dat
C:\Documents and Settings\Eric\Documents\temp Crypt\data\textStorage.dat
C:\Users\Eric\Documents\temp Crypt\data\textStorage.dat
I think this is related to special folders but I don't see how to exclude them