G
Guest
The following code:
C# code:
Directory.CreateDirectory("D:\\somewhere\\somewhereelse\\here\\")
works, but the following does flags the error:
An unhandled exception of type 'System.NotSupportedException' occurred in
mscorlib.dll
Additional information: The given path's format is not supported.
C# code:
string _NewDir = "D:\\somewhere\\somewhereelse\\here\\";
Directory.CreateDirectory(_NewDir);
Why?
C# code:
Directory.CreateDirectory("D:\\somewhere\\somewhereelse\\here\\")
works, but the following does flags the error:
An unhandled exception of type 'System.NotSupportedException' occurred in
mscorlib.dll
Additional information: The given path's format is not supported.
C# code:
string _NewDir = "D:\\somewhere\\somewhereelse\\here\\";
Directory.CreateDirectory(_NewDir);
Why?