[Win32] Recursive dir creation on the network

Archives Forums/BlitzMax Bug Reports/[Win32] Recursive dir creation on the network

plash(Posted 2009) [#1]
The CreateDir function in BRL.FileSystem does not handle network paths correctly.
If given a network path (a path starting with "\\" or "//"), it will attempt to create the path "/", then "//", and then "//servername", and so on, just as it would with any other path.

Windows obviously cannot create a path on the network root (as paths actually point to machines rather than some folder).
Here is a corrected version (basically changes the starting path to the base network path): http://www.blitzbasic.com/Community/posts.php?topic=86524