xcopy包含文件夹 [英] xcopy include folder

查看:58
本文介绍了xcopy包含文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这应该是一个简单的问题,但是我找不到答案.我想将文件夹"(不仅仅是内容)复制到桌面.我尝试过的所有内容都只包含该文件夹的内容.我已经尝试过下面的内容,但是内容仍然仅被复制.

This should be a simple question, but I haven't been able to find an answer. I'd like to copy Folder (not just the contents) to the Desktop. Everything I've tried takes just the contents of the folder. I've tried what I have below, but the contents are still only copied.

xcopy C:\Users\user\Folder C:\Users\user\Desktop /E

推荐答案

xcopy C:\Users\user\Folder C:\Users\user\Desktop\Folder /E /I

那呢?

这篇关于xcopy包含文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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