peteraritchie/LongPath — pull request #14 by jnorton1205 (2014-11-07 18:28:46+00:00)
Title: Added support for UNC paths.

I have added support for UNC paths by converting `\\server\share` to `\\?\UNC\server\share`.

The primary changes required for this are in Path where I updated the logic that adds and removes the prefix to be UNC path aware. I also needed to implement a fix to CreateDirectory because the server name was being incorrectly detected as needing creation.