How do you extract the base path from pathname in C?
Are there any functions built into the C language or the C-Runtime L
WinAPI (shlwapi) PathRemoveFileSpec should do all of that with the exception of .\file which would come back as .
.\file
.