I 다음 명령이 : 그러나 왜이 길을 가지지 않을 겁니다. 콤비네이션은 작동합니까?
reportedContentFolderPath = "\\ReportedContent\\"
가 왜
Path.Combine
는 E를 자르고있다
contentFolder.FullName = "E:\\"
: 나는 디버거에서 볼 때
string reportedContentFolderPath =
Path.Combine(contentFolder.FullName.ToString(), @"\ReportedContent\");
내가 다음을 참조 할 수 있습니다 : \?
'reportedContentFolderPath'에 슬래시를 사용하지 마십시오. – Mrchief
이 이전 답변을 수정하십시오. http://stackoverflow.com/questions/53102/why-does-path-combine-not-properly-concatenate-filenames-that-start- 와 함께 - 경로 - dir –