File (1) 썸네일형 리스트형 [c#] 해당 경로에 파일 복사하기 string fileName = "{{복사 할 파일명}}"; string sourceFilePath = "{{원본 경로}}"; string targetFilePath = "{{복사 할 경로}}"; boolean existsCheck = false; boolean fileExists = false; FileInfo file; sourceFilePath = sourceFilePath + @"/" + fileName; file = new FileInfo(sourceFilePath); fileExists = file.Exists; if(fileExists) { try { if (!Directory.Exists(targetFilePath)) Directory.CreateDirectory(targetFilePath.. 이전 1 다음