|
wangmeng052
中级用户
  
积分 334
发帖 154
注册 2007-3-24
状态 离线
|
『楼 主』:
[求助]用XCOPY时无法连目录一起拷贝。为何?
使用 LLM 解释/回答一下
用XCOPY时无法连目录一起拷贝。为何?
Why can't XCOPY copy directories together?
|
|
2007-3-27 10:39 |
|
|
ywcn
初级用户
 
积分 155
发帖 68
注册 2007-2-2
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
加/s参数可以连子目录一起拷贝
Adding the /s parameter allows copying subdirectories together
|
|
2007-3-27 10:51 |
|
|
BWSkyer
中级用户
   我是DOS学者
积分 367
发帖 180
注册 2006-5-14 来自 重庆
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
但是跟目录还是不可以的哦,我每次copy都是在另外一个盘先建好目录,在copy,这样才可以!也不知道是不是我没有看清楚参数!!
But the root directory is still not okay. Every time I copy, I first create a directory on another disk and then copy, only then can it work! I don't know if I didn't read the parameters clearly!
|
|
2007-3-27 17:54 |
|
|
wangmeng052
中级用户
  
积分 334
发帖 154
注册 2007-3-24
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
加参数还是不行。
Adding parameters still doesn't work.
|
|
2007-3-28 01:36 |
|
|
Michael
钻石会员
       
积分 10046
发帖 3039
注册 2002-11-11
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
没见过不行的情况,很想体验一下。
There is no situation that I haven't seen, and I really want to experience it.
|

简单就是美 |
|
2007-3-28 01:51 |
|
|
terse
银牌会员
    
积分 2404
发帖 946
注册 2005-9-8
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
xcopy /e /q /i /h /r /y c:\源文件夹 d:\目标文件夹
我的机器上可以 XP2
xcopy /e /q /i /h /r /y c:\source folder d:\target folder
It works on my machine, XP2
|
|
2007-3-28 02:40 |
|
|
oilio
高级用户
    前进者
积分 641
发帖 303
注册 2007-1-10
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
目标不用事先存在也可以,靠/i参数。
The target doesn't need to exist in advance, relying on the /i parameter.
|

我相信总有一天,总会遇到一个人可以相濡以沫、相吻以湿! |
|
2007-3-28 03:05 |
|
|
wangmeng052
中级用户
  
积分 334
发帖 154
注册 2007-3-24
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
我试了一下,还是不行啊。郁闷。。。。。
I tried it, but it still doesn't work.郁闷. . . . .
|
|
2007-3-28 07:18 |
|
|
ywcn
初级用户
 
积分 155
发帖 68
注册 2007-2-2
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
不会吧,/i 应该没问题啊
xcopy "源目录名" "目的目录名" /i
要连子目录一起拷的话在后面再加个 /s
Can't be? /i Should be no problem ah
xcopy "source directory name" "destination directory name" /i
If you want to copy subdirectories together, add /s at the end
|
|
2007-3-28 11:16 |
|
|
BWSkyer
中级用户
   我是DOS学者
积分 367
发帖 180
注册 2006-5-14 来自 重庆
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
/I 如果目标不存在,又在复制一个以上的文件,
则假定目标一定是一个目录。
这个系统是这样解释的,xcopy "源目录名" "目的目录名" /i
那么目的目录名是自己建立的呢,还是和我copy的一样呢? 如果不exist怎么处理?
/I If the target does not exist and more than one file is being copied,
then it is assumed that the target must be a directory.
This system explains it like this: xcopy "source directory name" "destination directory name" /i
So, is the destination directory name created by oneself or the same as when I copy? What if it doesn't exist?
|
|
2007-3-28 11:40 |
|
|
terse
银牌会员
    
积分 2404
发帖 946
注册 2005-9-8
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
目标不用事先存在也可以 和copy的一样
The goal can be the same as copy even if it doesn't exist in advance
|
|
2007-3-28 12:48 |
|
|
wzsunlight
初级用户
 
积分 107
发帖 52
注册 2007-3-10
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
Originally posted by terse at 2007-3-27 01:40 PM:
xcopy /e /q /i /h /r /y c:\源文件夹 d:\目标文件夹
我的机器上可以 XP2
同意
Originally posted by terse at 2007-3-27 01:40 PM:
xcopy /e /q /i /h /r /y c:\source folder d:\target folder
It works on my machine, XP2
Agree
|
|
2007-3-28 17:59 |
|
|
ywcn
初级用户
 
积分 155
发帖 68
注册 2007-2-2
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
Originally posted by BWSkyer at 2007-3-27 10:40 PM:
/I 如果目标不存在,又在复制一个以上的文件,
则假定目标一定是一个目录。
这个系统是这样解释的,xcopy "源目录名" & ...
不用提前建好,这个命令会自动建
Originally posted by BWSkyer at 2007-3-27 10:40 PM:
/I If the target does not exist and more than one file is being copied,
it is assumed that the target must be a directory.
This system explains it like this: xcopy "source directory name" & ...
No need to create it in advance, this command will create it automatically
|
|
2007-3-29 03:44 |
|
|
wangmeng052
中级用户
  
积分 334
发帖 154
注册 2007-3-24
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
我的是在xp的命令行下做的。xcopy d:\th e:\ /s回车。将d盘th及文件复制到e盘。只能将文件复制但文件夹不能复制。
I made this under the command line of XP. xcopy d:\th e:\ /s and press Enter. Copy the th folder and its files on drive D to drive E. Only files are copied but folders are not.
|
|
2007-3-29 04:56 |
|
|
Climbing
铂金会员
       网络独行侠
积分 6962
发帖 2753
注册 2003-4-16 来自 河北保定
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
xcopy d:\th e:\th /s /i
xcopy d:\th e:\th /s /i
|

偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
|
|
2007-3-29 05:44 |
|