Actions
Bug #87
openParseFolderName: if filename part of path then not returning correct path
Start date:
09/05/2017
Due date:
% Done:
0%
Estimated time:
Description
From: Clayton
I found a possible bug using ParseFolderName function.
If the contents of sFile is part of the direcories names in sFileName, the replace function change the first ocurrence of the substring.
To fix this a replaced the line:
Move (Replace(sFile,sFileName,"")) To sFolderName
With:
Move (Left(sFileName,Length(sFileName)-Length(sFile))) to sFolderName
Hope I made myself clear.
Thanks in advance.
Have a nice day.
Actions