name of a file


I’ve got a probleme when I read a .ase file because sometimes names of images contain the path.

How can I extract the name of the image?
How to use “GetFilePath()”?
Is there a c function that can do that?

Thanks for your help !

See these functions in the MSDN

_splitpath, _wsplitpath

Give them a full path and they give you all the individual elements of the path…


Thanks it’s working very well now.