Given:
Code: Select all
test$ = "c:\temp\dowload|\check\test|.txt"
Debug GetFilePart(test$) ; is test|.txt
Debug GetPathPart(test$) ; is c:\temp\Purebasic does not do this with getfilepart(), so at best it's an inconsistency.
Continuing:
Code: Select all
Debug FileSize("c:\temp\download*\")
Debug FileSize("c:\temp\download?\")