Recent

Author Topic: FindAllDirectories return wrong value.  (Read 2033 times)

useministrator

  • Newbie
  • Posts: 1
FindAllDirectories return wrong value.
« on: March 17, 2016, 06:23:33 pm »
Hello!
I have problem with obtaining a list of directories in directories begin with dot.

In Delphi TDirectory.GetDirectories('d:\test','*',TSearchOption(1)) return:

d:\test\.DotDir
d:\test\.DotDir\dir
d:\test\.DotDir\dir1
d:\test\.DotDir\dir1\dir2
d:\test\.DotDir\dir1\dir2\dir3

d:\test\Dir
d:\test\Dir\Dir4
d:\test\Dir\dir5

In CodeTypon FindAllDirectories('d:\test',True);  return:

d:\test\.DotDir
d:\test\Dir
d:\test\.DotDir\dir
d:\test\.DotDir\dir1
d:\test\Dir\Dir4
d:\test\Dir\dir5

If the problem is confirmed, ask a moderator to move the topic in its proper place.
Typhon 5.8 r52101 FPC 3.1.1 x86_64-win64-win32/win64
« Last Edit: April 12, 2016, 09:52:06 am by useministrator »