复制文件夹中的所有内容使用批处理文件另一个文件夹? [英] copying all contents of folder to another folder using batch file?

查看:173
本文介绍了复制文件夹中的所有内容使用批处理文件另一个文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在℃的文件夹:\\ 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屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆