splitpath has a bug that renders it useless.
if you have a folder with a .(dot) eg folder.restoffolder
it will see that as the filename and the stuff after the dot as an extension
because splitpath reads from left to right it will think that the first thing that has a dot is the filename and the stuff after it an extension and then stops because you can only have 1 filename
so you will get this kind of situations
C:\\dir\\folder.restfolder\\filename.doc
splitpaths table will look like this
drive = C:\\
folder = dir
filename = folder
extension = restfolder
and then stops
IR please fix this with simply starting on the right.
also see my other bug thread http://www.indigorose.com/forums/showthread.php?t=27600

Reply With Quote

