Esempio n. 1
0
        private void Init()
        {
            for (int i = 0; i < FileNames.Length; ++i) {
                string fileName = FileNames[i];
                string originPath = Path.Combine(OriginDir, fileName);
                for (int i2 = 0; i2 < dstDirs.Length; ++i2) {
                    string dstPath = Path.Combine(dstDirs[i2], fileName);
                    IOUtility.CopyFile(new FileInfo(originPath), new FileInfo(dstPath));
                }
            }

            Console.WriteLine("파일 이동에 성공했습니다.");
        }