1
Vote

LongPathDirectory.Create()

description

Hello,

Unlike the System.IO.Directory.CreateDirectory(), the Microsoft.Experimental.LongPathDirectory.Create() does not create a directory structure if it does not exist. For instance if I am in a folder with no subfolders, a call to LongPathDirectory.Create("A\B"); will fail while a call to Directory.CreateDirectory("A\B"); will not fail and create the A subdirectory and then the B subdirectory in A.

Yours,
Andrei

comments