The current Win32 implementation of the “Pathname” interface separates basename and filename extension by the first (instead of the last) dot character. (For example, Pathname.LastExt("C:\Windows\system32\ntoskrnl.exe.old") returns "exe.old" instead of "old".) I couldn’t find any authoritative documentation, but this is in contrast to the behavior of the .NET framework and the Windows shell.
The current Win32 implementation of the “Pathname” interface separates basename and filename extension by the first (instead of the last) dot character. (For example,
Pathname.LastExt("C:\Windows\system32\ntoskrnl.exe.old")
returns"exe.old"
instead of"old"
.) I couldn’t find any authoritative documentation, but this is in contrast to the behavior of the .NET framework and the Windows shell.