title: How to check if a string has a valid file path or directory path format in unmanaged C++ code?
body: <p>I want to know how to check (in unmanaged Visual C++ code) if a string has a valid format to represent file path or folder path. The physical file or folder path itself may or may not exist in this case. To check correct string format is major goal in my case. I need to know if a string has a the right format to be a valid file path or it doesn't have? There are many posts about it for C# but no one for unmanaged C++. How to do it in unmanaged C++ in Visual C++?</p>