I read a bunch of posts about this. Seems simple. I need to add the following folder if it does not exist.
H:\Health Plans\Enrollment\Name 834\2015\05 May\
The base will always exist (H:\Health Plans\Enrollment\Name 834\)
So, I am just doing the following:
sDownloadFolder = "H:\\Health Plans\\Enrollment\\Name 834\\2015\\05 May\\"
It DOES create the 2015 folder, but will not create the second level for some reason. I have tried several variations and I get nothing for the last level (\05 May\). I am baffled. I even tried to call the same code twice in a row to see if would build each level. Nothing for the second level.
Thoughts?
H:\Health Plans\Enrollment\Name 834\2015\05 May\
The base will always exist (H:\Health Plans\Enrollment\Name 834\)
So, I am just doing the following:
C#:
System.IO.Directory.CreateDirectory(sDownloadFolder);
sDownloadFolder = "H:\\Health Plans\\Enrollment\\Name 834\\2015\\05 May\\"
It DOES create the 2015 folder, but will not create the second level for some reason. I have tried several variations and I get nothing for the last level (\05 May\). I am baffled. I even tried to call the same code twice in a row to see if would build each level. Nothing for the second level.
Thoughts?