由网友(顺其自然)分享简介:我想创建一个递归复制源文件夹和所有文件和文件夹它内部不同位置的功能。 I am trying to create a function that will recursively copy a source folder and all files and folders inside of it to a diff...
我想创建一个递归复制源文件夹和所有文件和文件夹它内部不同位置的功能。
I am trying to create a function that will recursively copy a source folder and all files and folders inside of it to a different location.
目前,我的主要文件夹,这是使code臃肿冗余中定义的每个文件夹。
At the moment, I have to define each folder within the main folder, which is making the code bloated and redundant.
什么是这样做的更有效的方法?
What's a more efficient way of doing this?
推荐答案
MSDN有一个例子:如何:复制目录
MSDN has an example: How to: Copy Directories.
相关推荐
最新文章