摘要:
路径超过260字符,不能采用普通的Copy等函数了。使用如下的代码:/// /// 长文件名的文件拷贝/// /// /// /// [DllImport("kernel32.dll", CharSet = CharSet.Unicode)][return: MarshalAs(UnmanagedType.Bool)]internal static extern bool CopyFile(string source, string target, bool overwrite);public static void Copy(string source, string t 阅读全文