John W. Eaton wrote:
It doesn't matter much to me personally, but I think some people would like to see the result contain only \ on Windows systems.
So you're on Windows? Then perhaps you can use 'GetFullPathName()' directly? https://msdn.microsoft.com/en-us/library/windows/desktop/aa364963(v=vs.85).aspx If you're sure the path contains no forward slashes. -- --gv