Hey, do you know if there is any Win32 API for extracting various parts from a string containing the file name with the whole path, or do I have to figure out some algorithm myself?
Or, if you have a code snippet at hand to do this work, could you paste it?

Thanks.