I'm trying to find a way to remove a file extension from a file in Win32. I'm reading in a directory's listing and want to remove the .asc extension from each asci file and verify there is a corresponding .log file (named exactly the same except the extension)