PDA

View Full Version : name of a file



Bra'Tac
07-03-2001, 12:20 AM
Hi,

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 !

Pete Bassett
07-03-2001, 01:14 AM
See these functions in the MSDN

_splitpath, _wsplitpath

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

Pete

Bra'Tac
07-03-2001, 03:41 AM
Thanks it's working very well now.