中国DOS联盟论坛

中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --

联盟域名:www.cn-dos.net  论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!

游客:  注册 | 登录 | 命令行 | 搜索 | 上传 | 帮助 »
作者:
标题: 请教一下XCOPY 上一主题 | 下一主题
qiqi00612
新手上路





积分 8
发帖 3
注册 2008-3-19
状态 离线
『楼 主』:  请教一下XCOPY 使用 LLM 解释/回答一下

不知道XCOPY的使用方法,格式。希望高手指教一下。我只会用copy,刚用XCOPY发现与其不一样的。。现在不会用。。听说xcopy可以复文件夹的。就不知道怎么做呢?


2008-3-19 23:00
查看资料  发送邮件  发短消息  网志   编辑帖子  回复  引用回复
qiqi00612
新手上路





积分 8
发帖 3
注册 2008-3-19
状态 离线
『第 2 楼』:   使用 LLM 解释/回答一下

在线等啦


2008-3-19 23:00
查看资料  发送邮件  发短消息  网志   编辑帖子  回复  引用回复
shuiyin313
初级用户





积分 177
发帖 85
注册 2007-12-1
状态 离线
『第 3 楼』:   使用 LLM 解释/回答一下

Invalid keyboard code specified
XCOPY v1.3 - Copyright 2001-2003

Copies files and directory trees.

XCOPY source

source Specifies the directory and/or name of file(s) to copy.
destination Specifies the location and/or name of new file(s).
/A Copies only files with the archive attribute set and doesn't
change the attribute.
/C Continues copying even if errors occur.
/D Copies only files which have been changed on or after the
specified date. When no date is specified, only files which are
newer than existing destination files will be copied.
/E Copies any subdirectories, even if empty.
/F Display full source and destination name.
/H Copies hidden and system files as well as unprotected files.
/I If destination does not exist and copying more than one file,
assume destination is a directory.
/L List files without copying them. (simulates copying)
/M Copies only files with the archive attribute set and turns off
the archive attribute of the source files after copying them.
/N Suppresses prompting to confirm you want to overwrite an
existing destination file and skips these files.
/P Prompts for confirmation before creating each destination file.
/Q Quiet mode, don't show copied filenames.
/R Overwrite read-only files as well as unprotected files.
/S Copies directories and subdirectories except empty ones.
/T Creates directory tree without copying files. Empty directories
will not be copied. To copy them add switch /E.
/V Verifies each new file.
/W Waits for a keypress before beginning.
/Y Suppresses prompting to confirm you want to overwrite an
existing destination file and overwrites these files.
/-Y Causes prompting to confirm you want to overwrite an existing
destination file.

The switch /Y or /N may be preset in the COPYCMD environment variable.
This may be overridden with /-Y on the command line.

Last edited by shuiyin313 on 2008-3-20 at 04:26 AM ]


2008-3-20 04:24
查看资料  发送邮件  发短消息  网志   编辑帖子  回复  引用回复
shuiyin313
初级用户





积分 177
发帖 85
注册 2007-12-1
状态 离线
『第 4 楼』:   使用 LLM 解释/回答一下

我用的是1.3版本的.

XCOPY v1.3 - Copyright 2001-2003
可以copy文件夹 经常用到的 /Y /E /S /I 这些

可以看上面的HELP文档有解释.


2008-3-20 04:26
查看资料  发送邮件  发短消息  网志   编辑帖子  回复  引用回复
lfopt
初级用户





积分 71
发帖 34
注册 2008-3-12
状态 离线
『第 5 楼』:   使用 LLM 解释/回答一下

好像Xcopy是整盘拷备吧


2008-3-20 14:21
查看资料  发送邮件  发短消息  网志  OICQ (343253490)  编辑帖子  回复  引用回复
shuiyin313
初级用户





积分 177
发帖 85
注册 2007-12-1
状态 离线
『第 6 楼』:   使用 LLM 解释/回答一下

xcopy可以拷贝目录树结构.
它是外部命令
可以整盘拷贝也可以单个 加参数的话还可以用的更多.


2008-3-21 22:28
查看资料  发送邮件  发短消息  网志   编辑帖子  回复  引用回复

请注意:您目前尚未注册或登录,请您注册登录以使用论坛的各项功能,例如发表和回复帖子等。


可打印版本 | 推荐给朋友 | 订阅主题 | 收藏主题



论坛跳转: