I apologize to everyone. There is 1 more argument that I miss. All is working like a charm.
Code: Select all
url:= "protocol://www.domain.com/path/file.ext"
;splitpath(url, nam, dir, ext, drv)
splitpath(url, nam, dir, ext, nex, drv)
;MsgBox(url "`n" nam "`n" dir "`n" ext "`n" drv) ;parsing url not correct
MsgBox(url "`n" nam "`n" dir "`n" ext "`n" nex "`n" drv) ;ALL IS FINE