使用批处理文件将文件夹的所有内容复制到另一个文件夹? [英] copying all contents of folder to another folder using batch file?
本文介绍了使用批处理文件将文件夹的所有内容复制到另一个文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在 C:Folder1
我想把Folder1
的所有内容复制到另一个位置,D:Folder2
I want to copy all the contents of Folder1
to another location, D:Folder2
如何使用批处理文件执行此操作?
How do I do this using a batch file?
推荐答案
xcopy.exe
是这里的解决方案.它内置于 Windows 中.
xcopy.exe
is the solution here. It's built into Windows.
xcopy /s c:Folder1 d:Folder2
您可以在 http://www.computerhope.com/xcopyhlp.htm
这篇关于使用批处理文件将文件夹的所有内容复制到另一个文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文