https://projects.vdf-guidance.com/https://projects.vdf-guidance.com/favicon.ico2017-09-05T09:20:16ZDataFlex Open Source ProjectsvWin32fh Windows File Handling - Bug #87: ParseFolderName: if filename part of path then not returning correct pathhttps://projects.vdf-guidance.com/issues/87?journal_id=1062017-09-05T09:20:16ZWil van Antwerpen
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li><li><strong>Assignee</strong> set to <i>Wil van Antwerpen</i></li></ul><p>As replace was used to trim the filename from the path it ended up replacing the first occurence which was the path and not the filename. </p>
<p>Eg. it would do this:<br>
C:\test.txt\test.txt -> C:\test.txt<br>
C:\mytest.txt\test.txt -> c:\my\test.txt</p>
<p>This has been fixed. Thanks Clayton!</p>