中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-15 14:27
47,813 topics / 349,903 posts / today 1 new / 48,257 members
DOS疑难解答 & 问题讨论 (解答室) » How to copy a folder under DOS
Printable Version  2,537 / 10
Floor1 594769472 Posted 2009-05-21 03:01
初级用户 Posts 15 Credits 33
Friends, I'm talking about including folders. I've tried many methods, such as copy and xcopy, and they can't copy folders, only the contents inside the folders. Please don't send random answers. It's better to try it first, for sure. Waiting online!
Floor2 goeasy2005 Posted 2009-05-21 03:37
中级用户 Posts 155 Credits 325
xcopy *.* d: /s

[ Last edited by goeasy2005 on 2009-5-21 at 03:40 ]
Floor3 594769472 Posted 2009-05-21 03:59
初级用户 Posts 15 Credits 33
I would like to emphasize again that I am referring to including the entire folder, not just the contents inside.
Anyone who posts randomly, be careful of being scolded!
Thanks a lot for the experts to come in, thank you!
Floor4 594769472 Posted 2009-05-21 05:02
初级用户 Posts 15 Credits 33
xcopy a:\name1 d:\name2 /s/e/i (Note that name1 = name2)
Floor5 lianjiang Posted 2009-05-21 06:09
初级用户 Posts 32 Credits 169
Such posts are better to ignore. Hehe.
Floor6 blank007 Posted 2009-05-27 07:13
中级用户 Posts 37 Credits 237
Hehe

The words used by the original poster are a bit inappropriate. Please pay attention.

[ Last edited by blank007 on 2009-5-27 at 07:15 ]
Floor7 jh1688 Posted 2009-05-28 20:17
中级用户 Posts 126 Credits 248
I really don't know if the original poster can play, such a simple question still needs to be asked, under DOS type: XCOPY /? and all the answers will be there...

/S includes all subdirectories (folders), excluding empty folders

/E includes empty folders
Floor8 valle Posted 2009-06-08 10:34
新手上路 Posts 6 Credits 11 From shanghai china
xcopy a:\name1 d:\name2 /s/e/i (note that name1 = name2)
Support floor 4, this is a very simple problem. I have a DOS small software NC, which is also very easy to use. If needed, you can email to request it
Floor9 zg888 Posted 2009-06-09 00:04
初级用户 Posts 17 Credits 37
The `/s` and `/e` only recognize one location
Floor10 sbx188 Posted 2009-06-09 07:08
新手上路 Posts 5 Credits 8
Hello, you're really amazing. Oh my!

His way of speaking is indeed inappropriate, but it's even more inappropriate for you to curse casually like that! You could definitely remind him in another way.
The DOS forum does not allow the existence of people who create a chaotic atmosphere. Such people will be eliminated one by one when found. Considering that you're new here, I'll just give you a reminder this time!
——Administrator
Floor11 sbx188 Posted 2009-06-09 07:09
新手上路 Posts 5 Credits 8
What can you do if I don't answer you? When asking someone for help, you should at least have the right attitude.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023