hey all
i have a string that contains the directory to a file, for example:
i was wondering if anyone knew a function that returned the file name only like this:Code:C:\TEST\sample.txt
ive been looking for awhile now and can't find anything like that.Code:sample.txt
anyone know what it is?
thanks in advanced.



LinkBack URL
About LinkBacks



Look up strrchr and strcpy for a reasonably effective method of splitting the path from the file name. 