How do you check if a directory exists on Windows in C?
See the question and my original answer on StackOverflowIf linking to the Shell Lightweight API (shlwapi.dll) is ok for you, you can use the PathIsDirectory function.
If linking to the Shell Lightweight API (shlwapi.dll) is ok for you, you can use the PathIsDirectory function.