R
Ramon F Herrera
My application receives a filepath as an argument. Obviously, it can
come in several formats, such as:
filename.ext
..\filename.ext
...\..\filename.ext
this\is_a\relative\path\finally.ext
C:\fully\qualified\path\filename.ext
....and so on.
In Unix there is a function which will do the right thing in every
case, splitting the path into a base and a filename.
Is there such thing, something equivalent in Windows programming?
TIA,
-Ramon
come in several formats, such as:
filename.ext
..\filename.ext
...\..\filename.ext
this\is_a\relative\path\finally.ext
C:\fully\qualified\path\filename.ext
....and so on.
In Unix there is a function which will do the right thing in every
case, splitting the path into a base and a filename.
Is there such thing, something equivalent in Windows programming?
TIA,
-Ramon